MediaWiki  REL1_22
bench_utf8_title_check Class Reference

This little benchmark executes the regexp used in Language->checkTitleEncoding() and compares its execution time against that of mb_check_encoding, if available. More...

Inheritance diagram for bench_utf8_title_check:
Collaboration diagram for bench_utf8_title_check:

List of all members.

Public Member Functions

 __construct ()
 execute ()
 use_mb_check_encoding ($s)
 use_regexp ($s)
 use_regexp_non_capturing ($s)
 use_regexp_once_only ($s)

Private Attributes

 $canRun
 $data
 $isutf8

Detailed Description

This little benchmark executes the regexp used in Language->checkTitleEncoding() and compares its execution time against that of mb_check_encoding, if available.

Definition at line 32 of file bench_utf8_title_check.php.


Constructor & Destructor Documentation

Reimplemented from Benchmarker.

Definition at line 38 of file bench_utf8_title_check.php.

References array(), and data.


Member Function Documentation

Definition at line 119 of file bench_utf8_title_check.php.

References $s.

Definition at line 102 of file bench_utf8_title_check.php.

References $s.

Definition at line 107 of file bench_utf8_title_check.php.

References $s.

Definition at line 113 of file bench_utf8_title_check.php.

References $s.


Member Data Documentation

bench_utf8_title_check::$canRun [private]

Definition at line 34 of file bench_utf8_title_check.php.

bench_utf8_title_check::$data [private]

Definition at line 36 of file bench_utf8_title_check.php.

bench_utf8_title_check::$isutf8 [private]

Definition at line 100 of file bench_utf8_title_check.php.


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