function OpenTelemetryPerformanceTest::clearCaches

Clear caches.

6 calls to OpenTelemetryPerformanceTest::clearCaches()
OpenTelemetryPerformanceTest::doTestNodePageAdministrator in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryPerformanceTest.php
Logs node page performance with an administrator.
OpenTelemetryPerformanceTest::testFrontPageColdCache in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryPerformanceTest.php
Logs front page tracing data with a cold cache.
OpenTelemetryPerformanceTest::testFrontPageCoolCache in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryPerformanceTest.php
Logs front page tracing data with a lukewarm cache.
OpenTelemetryPerformanceTest::testNodePageColdCache in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryPerformanceTest.php
Logs node page tracing data with a cold cache.
OpenTelemetryPerformanceTest::testNodePageCoolCache in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryPerformanceTest.php
Logs node/1 tracing data with a cool cache.

... See full list

File

core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryPerformanceTest.php, line 660

Class

OpenTelemetryPerformanceTest
Tests demo_umami profile performance.

Namespace

Drupal\Tests\demo_umami\FunctionalJavascript

Code

protected function clearCaches() : void {
  foreach (Cache::getBins() as $bin) {
    $bin->deleteAll();
  }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.