X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2Fbenchmarks%2FbenchmarkTitleValue.php;h=6bd7953971b3c8af626acc8acdaeb55ea93af28c;hb=4e9300e2beb07c40f0c7d5f63323c498a0331800;hp=c60f4bbe82ca2293610efc7d6dbcb4d0a70cd94d;hpb=5354c219cd436583c0a0e401718018e8569f84e2;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' ], + ], ] ); }