From: antirez Date: Fri, 4 Nov 2011 10:20:19 +0000 (+0100) Subject: PING / MSET benchmarks enabled again. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/410dfe90b2cc62cbbeddb7f7617e9946dc1eab98?ds=inline PING / MSET benchmarks enabled again. --- 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);