Unverified Commit 4b6e60ce authored by Alex Pott's avatar Alex Pott
Browse files

perf: #3564923 Static cache image style config entities

By: catch
parent 37c7cb06
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -41,6 +41,7 @@
  label_singular: new TranslatableMarkup('image style'),
  label_plural: new TranslatableMarkup('image styles'),
  config_prefix: 'style',
  static_cache: TRUE,
  entity_keys: [
    'id' => 'name',
    'label' => 'label',
+6 −6
Original line number Diff line number Diff line
@@ -52,9 +52,9 @@ protected function testFrontPageColdCache(): void {
    $this->assertSession()->pageTextContains('Umami');

    $expected = [
      'QueryCount' => 219,
      'CacheGetCount' => 277,
      'CacheSetCount' => 295,
      'QueryCount' => 218,
      'CacheGetCount' => 276,
      'CacheSetCount' => 294,
      'CacheDeleteCount' => 0,
      'CacheTagLookupQueryCount' => 25,
      'CacheTagInvalidationCount' => 0,
@@ -122,9 +122,9 @@ protected function testFrontPageCoolCache(): void {
    }, 'umamiFrontPageCoolCache');

    $expected = [
      'QueryCount' => 74,
      'CacheGetCount' => 181,
      'CacheSetCount' => 79,
      'QueryCount' => 73,
      'CacheGetCount' => 180,
      'CacheSetCount' => 78,
      'CacheDeleteCount' => 0,
      'CacheTagInvalidationCount' => 0,
      'CacheTagLookupQueryCount' => 21,