You are here

public function PerformanceTestRecorder::onRouteBuilderFinish in Drupal 9

Records a router rebuild.

File

core/lib/Drupal/Core/Test/PerformanceTestRecorder.php, line 77

Class

PerformanceTestRecorder
Records the number of times specific events occur.

Namespace

Drupal\Core\Test

Code

public function onRouteBuilderFinish() {
  $this
    ->record('event', RoutingEvents::FINISHED);
}