MediaWiki  REL1_19
Benchmarker Class Reference
Inheritance diagram for Benchmarker:
Collaboration diagram for Benchmarker:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 bench (array $benchs)
 getFormattedResults ()

Private Attributes

 $results

Detailed Description

Definition at line 31 of file Benchmarker.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Maintenance.

Reimplemented in bench_HTTP_HTTPS, bench_if_switch, bench_wfIsWindows, BenchmarkPurge, BenchmarkHooks, bench_strtr_str_replace, and BenchmarkDeleteTruncate.

Definition at line 34 of file Benchmarker.php.

References Maintenance\addOption().

Here is the call graph for this function:


Member Function Documentation

Benchmarker::bench ( array $  benchs)

Definition at line 39 of file Benchmarker.php.

References $count, Maintenance\getOption(), and wfTime().

Referenced by bench_strtr_str_replace\execute(), bench_wfIsWindows\execute(), bench_HTTP_HTTPS\execute(), and bench_if_switch\execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 72 of file Benchmarker.php.

References $res.

Referenced by bench_strtr_str_replace\execute(), bench_wfIsWindows\execute(), bench_HTTP_HTTPS\execute(), and bench_if_switch\execute().

Here is the caller graph for this function:


Member Data Documentation

Benchmarker::$results [private]

Definition at line 32 of file Benchmarker.php.


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