MediaWiki
REL1_20
|
Base class for benchmark scripts. More...
Public Member Functions | |
__construct () | |
Default constructor. | |
bench (array $benchs) | |
getFormattedResults () | |
Private Attributes | |
$results |
Base class for benchmark scripts.
Definition at line 37 of file Benchmarker.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Maintenance.
Reimplemented in bench_strtr_str_replace, bench_utf8_title_check, bench_HTTP_HTTPS, bench_if_switch, bench_wfIsWindows, BenchmarkDeleteTruncate, BenchmarkHooks, and BenchmarkPurge.
Definition at line 40 of file Benchmarker.php.
References Maintenance\addOption().
Benchmarker::bench | ( | array $ | benchs | ) |
Definition at line 45 of file Benchmarker.php.
References $count, and Maintenance\getOption().
Referenced by bench_HTTP_HTTPS\execute(), bench_wfIsWindows\execute(), bench_if_switch\execute(), bench_strtr_str_replace\execute(), and bench_utf8_title_check\execute().
Definition at line 78 of file Benchmarker.php.
References $res.
Referenced by bench_HTTP_HTTPS\execute(), bench_wfIsWindows\execute(), bench_if_switch\execute(), bench_strtr_str_replace\execute(), and bench_utf8_title_check\execute().
Benchmarker::$results [private] |
Definition at line 38 of file Benchmarker.php.