|
MediaWiki
REL1_20
|
Maintenance script that benchmark if elseif... More...


Public Member Functions | |
| __construct () | |
| Default constructor. | |
| doElseIf () | |
| doSwitch () | |
| execute () | |
| Do the actual work. | |
Maintenance script that benchmark if elseif...
versus switch case.
Definition at line 34 of file bench_if_switch.php.
Default constructor.
Children should call this *first* if implementing their own constructors
Reimplemented from Benchmarker.
Definition at line 36 of file bench_if_switch.php.
Definition at line 50 of file bench_if_switch.php.
Definition at line 72 of file bench_if_switch.php.
Do the actual work.
All child classes will need to implement this
Reimplemented from Maintenance.
Definition at line 41 of file bench_if_switch.php.
References Benchmarker\bench(), Benchmarker\getFormattedResults(), and print.