MediaWiki  REL1_24
BenchUtf8TitleCheck 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 BenchUtf8TitleCheck:
Collaboration diagram for BenchUtf8TitleCheck:

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 37 of file bench_utf8_title_check.php.

References array(), and data.


Member Function Documentation

Definition at line 121 of file bench_utf8_title_check.php.

References $s.

Definition at line 104 of file bench_utf8_title_check.php.

References $s.

Definition at line 109 of file bench_utf8_title_check.php.

References $s.

Definition at line 115 of file bench_utf8_title_check.php.

References $s.


Member Data Documentation

BenchUtf8TitleCheck::$canRun [private]

Definition at line 33 of file bench_utf8_title_check.php.

BenchUtf8TitleCheck::$data [private]

Definition at line 35 of file bench_utf8_title_check.php.

BenchUtf8TitleCheck::$isutf8 [private]

Definition at line 102 of file bench_utf8_title_check.php.


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