|
MediaWiki
REL1_23
|
Base class for benchmark scripts. More...


Public Member Functions | |
| __construct () | |
| bench (array $benchs) | |
| getFormattedResults () | |
Private Attributes | |
| $results | |
Base class for benchmark scripts.
Definition at line 37 of file Benchmarker.php.
Reimplemented from Maintenance.
Reimplemented in bench_strtr_str_replace, bench_utf8_title_check, bench_HTTP_HTTPS, bench_if_switch, bench_wfIsWindows, bench_wfBaseConvert, 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, $ret, array(), as, and Maintenance\getOption().
Referenced by bench_HTTP_HTTPS\execute(), bench_if_switch\execute(), bench_wfIsWindows\execute(), bench_wfBaseConvert\execute(), bench_strtr_str_replace\execute(), and bench_utf8_title_check\execute().
Definition at line 78 of file Benchmarker.php.
References $res, $ret, and as.
Referenced by bench_HTTP_HTTPS\execute(), bench_if_switch\execute(), bench_wfIsWindows\execute(), bench_wfBaseConvert\execute(), bench_strtr_str_replace\execute(), and bench_utf8_title_check\execute().
Benchmarker::$results [private] |
Definition at line 38 of file Benchmarker.php.