MediaWiki
REL1_20
|
Maintenance script that benchmarks MediaWiki hooks. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
execute () | |
Do the actual work. | |
test () | |
Private Member Functions | |
benchHooks ($trials=10) |
Maintenance script that benchmarks MediaWiki hooks.
Definition at line 31 of file benchmarkHooks.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Benchmarker.
Definition at line 33 of file benchmarkHooks.php.
BenchmarkHooks::benchHooks | ( | $ | trials = 10 | ) | [private] |
$trials | int |
Definition at line 67 of file benchmarkHooks.php.
References wfRunHooks().
Referenced by execute().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 38 of file benchmarkHooks.php.
References $wgHooks, benchHooks(), and Maintenance\output().
Definition at line 81 of file benchmarkHooks.php.