From 410dfe90b2cc62cbbeddb7f7617e9946dc1eab98 Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 4 Nov 2011 11:20:19 +0100 Subject: [PATCH] PING / MSET benchmarks enabled again. --- src/redis-benchmark.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index 3aa495bd..b599ec32 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -500,7 +500,6 @@ int main(int argc, const char **argv) { memset(data,'x',config.datasize); data[config.datasize] = '\0'; -#if 0 benchmark("PING (inline)","PING\r\n",6); len = redisFormatCommand(&cmd,"PING"); @@ -516,7 +515,6 @@ int main(int argc, const char **argv) { len = redisFormatCommandArgv(&cmd,21,argv,NULL); benchmark("MSET (10 keys)",cmd,len); free(cmd); -#endif len = redisFormatCommand(&cmd,"SET foo:rand:000000000000 %s",data); benchmark("SET",cmd,len); -- 2.45.2