Permalink
Browse files

Do at least 5 seconds per round per benchmark case

Signed-off-by: Pedro Melo <melo@simplicidade.org>
  • Loading branch information...
1 parent 31cbdca commit 7dfaa0c86b6d4cc8d83ce63dffeae8026c314200 @melo melo committed Jan 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/redis-benchmark.pl
@@ -14,7 +14,7 @@
my $i = 0;
-timethese( 100000, {
+timethese( -5, {
'00_ping' => sub { $r->ping },
'10_set' => sub { $r->set( 'foo', $i++ ) },
'11_set_r' => sub { $r->set( 'bench-' . rand(), rand() ) },

0 comments on commit 7dfaa0c

Please sign in to comment.