summaryrefslogtreecommitdiff
path: root/maintenance/benchmarks/benchmarkHooks.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/benchmarks/benchmarkHooks.php')
-rw-r--r--maintenance/benchmarks/benchmarkHooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/maintenance/benchmarks/benchmarkHooks.php b/maintenance/benchmarks/benchmarkHooks.php
index fb25b9d9..14468719 100644
--- a/maintenance/benchmarks/benchmarkHooks.php
+++ b/maintenance/benchmarks/benchmarkHooks.php
@@ -66,7 +66,7 @@ class BenchmarkHooks extends Benchmarker {
private function benchHooks( $trials = 10 ) {
$start = microtime( true );
for ( $i = 0; $i < $trials; $i++ ) {
- wfRunHooks( 'Test' );
+ Hooks::run( 'Test' );
}
$delta = microtime( true ) - $start;
$pertrial = $delta / $trials;