diff options
author | antirez <antirez@gmail.com> | 2014-11-28 09:23:39 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2014-11-28 10:38:58 +0100 |
commit | 60c09dcf091ba41e8f4b99fc005cb2f45b4a0bad (patch) | |
tree | 5b0139cd295e7e9b8064864f9550b244bbdef497 | |
parent | e689e9366319623d45bee1bf7498a965d5fa0e75 (diff) | |
download | redis-60c09dcf091ba41e8f4b99fc005cb2f45b4a0bad.tar.gz |
redis-benchmark: default num of requests is now 100000.
10000 completes in a too short time and may easily provide unreliable
figures because of tiny duration.
-rw-r--r-- | src/redis-benchmark.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index 9b86b25d3..76c755dd2 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -555,7 +555,7 @@ usage: " -s <socket> Server socket (overrides host and port)\n" " -a <password> Password for Redis Auth\n" " -c <clients> Number of parallel connections (default 50)\n" -" -n <requests> Total number of requests (default 10000)\n" +" -n <requests> Total number of requests (default 100000)\n" " -d <size> Data size of SET/GET value in bytes (default 2)\n" " -dbnum <db> SELECT the specified db number (default 0)\n" " -k <boolean> 1=keep alive 0=reconnect (default 1)\n" @@ -635,7 +635,7 @@ int main(int argc, const char **argv) { signal(SIGPIPE, SIG_IGN); config.numclients = 50; - config.requests = 10000; + config.requests = 100000; config.liveclients = 0; config.el = aeCreateEventLoop(1024*10); aeCreateTimeEvent(config.el,1,showThroughput,NULL,NULL); |