MediaWiki
REL1_24
|
This little benchmark executes the regexp used in Language->checkTitleEncoding() and compares its execution time against that of mb_check_encoding, if available. More...
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 |
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.
Reimplemented from Benchmarker.
Definition at line 37 of file bench_utf8_title_check.php.
Reimplemented from Maintenance.
Definition at line 75 of file bench_utf8_title_check.php.
References array(), as, Benchmarker\bench(), data, Benchmarker\getFormattedResults(), and print.
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.
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.