MediaWiki
REL1_22
|
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 38 of file bench_utf8_title_check.php.
Reimplemented from Maintenance.
Definition at line 73 of file bench_utf8_title_check.php.
References array(), as, Benchmarker\bench(), data, Benchmarker\getFormattedResults(), and print.
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.
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.