function OpenTelemetryNodePagePerformanceTest::clearCaches

Same name in other branches
  1. 10 core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php \Drupal\Tests\demo_umami\FunctionalJavascript\OpenTelemetryNodePagePerformanceTest::clearCaches()

Clear caches.

2 calls to OpenTelemetryNodePagePerformanceTest::clearCaches()
OpenTelemetryNodePagePerformanceTest::testNodePageCoolCache in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php
Logs node/1 tracing data with a cool cache.
OpenTelemetryNodePagePerformanceTest::testNodePageWarmCache in core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php
Log node/1 tracing data with a warm cache.

File

core/profiles/demo_umami/tests/src/FunctionalJavascript/OpenTelemetryNodePagePerformanceTest.php, line 120

Class

OpenTelemetryNodePagePerformanceTest
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.