benchmarks: Minor cleanup for strtr benchmark
authorTimo Tijhof <krinklemail@gmail.com>
Sat, 18 Aug 2018 03:29:53 +0000 (04:29 +0100)
committerKrinkle <krinklemail@gmail.com>
Sat, 18 Aug 2018 03:57:45 +0000 (03:57 +0000)
commit1031825f3b7732fb03fa745bff12e671c2f73d1a
tree4da966feb9d83d6043ba333a6f0f9d8b005c8d2b
parentf6b6809b70806596b811ca54d342629c6d19bb0b
benchmarks: Minor cleanup for strtr benchmark

Only bench with variable input ("indirect"). The static string is
too unrealistic and not worth testing for imho, if it even makes
a difference at all.

Also bump the default count from 100 to 10,000 given it's so tiny.

Change-Id: Iccc35af4bd3c5b0967983ddfacd1d4ead235e4a4
autoload.php
maintenance/benchmarks/bench_strtr_str_replace.php [deleted file]
maintenance/benchmarks/benchmarkStringReplacement.php [new file with mode: 0644]