MediaWiki  REL1_22
BenchmarkHooks Class Reference

Maintenance script that benchmarks MediaWiki hooks. More...

Inheritance diagram for BenchmarkHooks:
Collaboration diagram for BenchmarkHooks:

List of all members.

Public Member Functions

 __construct ()
 execute ()
 test ()

Private Member Functions

 benchHooks ($trials=10)

Detailed Description

Maintenance script that benchmarks MediaWiki hooks.

Definition at line 31 of file benchmarkHooks.php.


Constructor & Destructor Documentation

Reimplemented from Benchmarker.

Definition at line 33 of file benchmarkHooks.php.


Member Function Documentation

BenchmarkHooks::benchHooks ( trials = 10) [private]
Parameters:
$trialsint
Returns:
string

Definition at line 67 of file benchmarkHooks.php.

References wfRunHooks().

Referenced by execute().

Reimplemented from Maintenance.

Definition at line 38 of file benchmarkHooks.php.

References $time, $wgHooks, array(), benchHooks(), global, and Maintenance\output().

Returns:
bool

Definition at line 81 of file benchmarkHooks.php.


The documentation for this class was generated from the following file: