1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

Update plugins/redis/redis-speed

This commit is contained in:
MaxDudu 2012-08-21 11:44:06 -03:00
parent 8e1ab117aa
commit ae65a7d243

View file

@ -54,10 +54,10 @@ if ( $config ) {
}
my $key = "test-key";
my $times = 200;
my $times = 20;
print "ping.value " . &get_time( $times, sub { $r->ping(); }) . "\n";
print "set.value " . &get_time( $times, sub { $r->set($key, 1); }) . "\n";
print "set.value " . &get_time( $times, sub { $r->set($key => 'SET ' . $key . ' 1'); }) . "\n";
print "get.value " . &get_time( $times, sub { $r->get($key); }) . "\n";
# vim: ft=perl ai ts=4 sw=4 et: