MediaWiki  REL1_20
bench_strtr_str_replace Class Reference

Maintenance script that benchmarks for strtr() vs str_replace(). More...

Inheritance diagram for bench_strtr_str_replace:
Collaboration diagram for bench_strtr_str_replace:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 benchstr_replace ()
 benchstr_replace_indirect ()
 benchstrtr ()
 benchstrtr_indirect ()
 execute ()
 Do the actual work.

Detailed Description

Maintenance script that benchmarks for strtr() vs str_replace().

Definition at line 41 of file bench_strtr_str_replace.php.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


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