redis-benchmark: default value size usage update.

default size of SET/GET value in usage should be 3 bytes as in main code.
This commit is contained in:
Mota 2017-01-28 11:20:23 +08:00
parent dc997755bf
commit 81fe7a4733

View File

@ -572,7 +572,7 @@ usage:
" -a <password> Password for Redis Auth\n" " -a <password> Password for Redis Auth\n"
" -c <clients> Number of parallel connections (default 50)\n" " -c <clients> Number of parallel connections (default 50)\n"
" -n <requests> Total number of requests (default 100000)\n" " -n <requests> Total number of requests (default 100000)\n"
" -d <size> Data size of SET/GET value in bytes (default 2)\n" " -d <size> Data size of SET/GET value in bytes (default 3)\n"
" --dbnum <db> SELECT the specified db number (default 0)\n" " --dbnum <db> SELECT the specified db number (default 0)\n"
" -k <boolean> 1=keep alive 0=reconnect (default 1)\n" " -k <boolean> 1=keep alive 0=reconnect (default 1)\n"
" -r <keyspacelen> Use random keys for SET/GET/INCR, random values for SADD\n" " -r <keyspacelen> Use random keys for SET/GET/INCR, random values for SADD\n"