X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2Fbenchmarks%2FbenchmarkTitleValue.php;h=6bd7953971b3c8af626acc8acdaeb55ea93af28c;hb=ed0193f1fb662d5af7db8bf81ca8aa34c979063e;hp=c60f4bbe82ca2293610efc7d6dbcb4d0a70cd94d;hpb=329a72120e5f450e44b9a2c0c6dadaad1de9d43c;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/benchmarks/benchmarkTitleValue.php b/maintenance/benchmarks/benchmarkTitleValue.php index c60f4bbe82..6bd7953971 100644 --- a/maintenance/benchmarks/benchmarkTitleValue.php +++ b/maintenance/benchmarks/benchmarkTitleValue.php @@ -83,14 +83,22 @@ class BenchmarkTitleValue extends Benchmarker { [ 'function' => [ $this, 'getPrefixedTextTitle' ], ], - [ + 'parseTitleValue cached' => [ 'function' => [ $this, 'parseTitleValue' ], 'setup' => [ $this, 'randomize' ], ], - [ + 'parseTitle cached' => [ 'function' => [ $this, 'parseTitle' ], 'setup' => [ $this, 'randomize' ], ], + 'parseTitleValue no cache' => [ + 'function' => [ $this, 'parseTitleValue' ], + 'setupEach' => [ $this, 'randomize' ], + ], + 'parseTitle no cache' => [ + 'function' => [ $this, 'parseTitle' ], + 'setupEach' => [ $this, 'randomize' ], + ], ] ); }