dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3549d
)
Add some sub-functions back to the benchmark
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 30 Oct 2004 06:42:39 +0000
(06:42 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 30 Oct 2004 06:42:39 +0000
(06:42 +0000)
includes/normal/UtfNormalBench.php
patch
|
blob
|
history
diff --git
a/includes/normal/UtfNormalBench.php
b/includes/normal/UtfNormalBench.php
index
f035542
..
e81edec
100644
(file)
--- a/
includes/normal/UtfNormalBench.php
+++ b/
includes/normal/UtfNormalBench.php
@@
-45,6
+45,7
@@
$testfiles = array(
'testdata/sociology.txt' => 'Korean text'
);
$normalizer = new UtfNormal;
+UtfNormal::loadData();
foreach( $testfiles as $file => $desc ) {
benchmarkTest( $normalizer, $file, $desc );
}
@@
-62,7
+63,7
@@
function benchmarkTest( &$u, $filename, $desc ) {
'NFC',
# 'NFKC',
# 'NFD', 'NFKD',
-
#
'fastDecompose', 'fastCombiningSort', 'fastCompose',
+
'fastDecompose', 'fastCombiningSort', 'fastCompose',
'quickIsNFC', 'quickIsNFCVerify',
);
foreach( $forms as $form ) {