MediaWiki
REL1_19
|
Public Member Functions | |
__construct () | |
Default constructor. | |
bench (array $benchs) | |
getFormattedResults () | |
Private Attributes | |
$results |
Definition at line 31 of file Benchmarker.php.
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().
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().
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().
Benchmarker::$results [private] |
Definition at line 32 of file Benchmarker.php.