dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Improve type hints in parser related classes"
[lhc/web/wiklou.git]
/
maintenance
/
benchmarks
/
benchmarkTitleValue.php
diff --git
a/maintenance/benchmarks/benchmarkTitleValue.php
b/maintenance/benchmarks/benchmarkTitleValue.php
index
c60f4bb
..
6bd7953
100644
(file)
--- a/
maintenance/benchmarks/benchmarkTitleValue.php
+++ b/
maintenance/benchmarks/benchmarkTitleValue.php
@@
-83,14
+83,22
@@
class BenchmarkTitleValue extends Benchmarker {
[
'function' => [ $this, 'getPrefixedTextTitle' ],
],
[
'function' => [ $this, 'getPrefixedTextTitle' ],
],
- [
+
'parseTitleValue cached' =>
[
'function' => [ $this, 'parseTitleValue' ],
'setup' => [ $this, 'randomize' ],
],
'function' => [ $this, 'parseTitleValue' ],
'setup' => [ $this, 'randomize' ],
],
- [
+
'parseTitle cached' =>
[
'function' => [ $this, 'parseTitle' ],
'setup' => [ $this, 'randomize' ],
],
'function' => [ $this, 'parseTitle' ],
'setup' => [ $this, 'randomize' ],
],
+ 'parseTitleValue no cache' => [
+ 'function' => [ $this, 'parseTitleValue' ],
+ 'setupEach' => [ $this, 'randomize' ],
+ ],
+ 'parseTitle no cache' => [
+ 'function' => [ $this, 'parseTitle' ],
+ 'setupEach' => [ $this, 'randomize' ],
+ ],
] );
}
] );
}