Benchmark.t: avoid ultra-lightweight code
authorDavid Mitchell <davem@iabyn.com>
Mon, 21 Oct 2013 12:45:36 +0000 (13:45 +0100)
committerDavid Mitchell <davem@iabyn.com>
Mon, 21 Oct 2013 12:50:26 +0000 (13:50 +0100)
commit59000498ecb28d4767eac94dc70de651f1b3c03e
treee011d443c6c1bdc92c617bc4342893845dd277d1
parent24755e36b3a8716d2d99c4ce1c1775c0807affa7
Benchmark.t: avoid ultra-lightweight code

Some tests benchmarked the code '$i++', which is so lightweight that it
could trigger the die "Timing is consistently zero in estimation loop"
in Benchmark.pm.

So make the code slightly more heavyweight.
lib/Benchmark.t