MediaWiki
REL1_20
|
Maintenance script that benchmarks for strtr() vs str_replace(). More...
Public Member Functions | |
__construct () | |
Default constructor. | |
benchstr_replace () | |
benchstr_replace_indirect () | |
benchstrtr () | |
benchstrtr_indirect () | |
execute () | |
Do the actual work. |
Maintenance script that benchmarks for strtr() vs str_replace().
Definition at line 41 of file bench_strtr_str_replace.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Benchmarker.
Definition at line 43 of file bench_strtr_str_replace.php.
Definition at line 62 of file bench_strtr_str_replace.php.
Definition at line 71 of file bench_strtr_str_replace.php.
References bfNormalizeTitleStrReplace().
Definition at line 58 of file bench_strtr_str_replace.php.
Definition at line 67 of file bench_strtr_str_replace.php.
References bfNormalizeTitleStrTr().
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 48 of file bench_strtr_str_replace.php.
References Benchmarker\bench(), Benchmarker\getFormattedResults(), and print.