MediaWiki  REL1_20
bench_if_switch Class Reference

Maintenance script that benchmark if elseif... More...

Inheritance diagram for bench_if_switch:
Collaboration diagram for bench_if_switch:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 doElseIf ()
 doSwitch ()
 execute ()
 Do the actual work.

Detailed Description

Maintenance script that benchmark if elseif...

versus switch case.

Definition at line 34 of file bench_if_switch.php.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


The documentation for this class was generated from the following file: