diff options
author | antirez <antirez@gmail.com> | 2013-10-28 18:13:39 +0100 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-10-28 18:13:42 +0100 |
commit | 3c7a0677b0f226ba09c9c68c6902b9cca864088d (patch) | |
tree | 697ca3fde972f59af566cfc14e5507c64f7bb8a2 /src/redis-benchmark.c | |
parent | 9b2d44e63fb36096750664072b68d1f2002df3ac (diff) | |
download | redis-3c7a0677b0f226ba09c9c68c6902b9cca864088d.tar.gz |
redis-benchmark: update help for new __rand_int__ form.
Diffstat (limited to 'src/redis-benchmark.c')
-rw-r--r-- | src/redis-benchmark.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/redis-benchmark.c b/src/redis-benchmark.c index 59b906ed7..bf18d2ab3 100644 --- a/src/redis-benchmark.c +++ b/src/redis-benchmark.c @@ -556,12 +556,11 @@ usage: " -dbnum <db> SELECT the specified db number (default 0)\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" -" Using this option the benchmark will get/set keys\n" -" in the form mykey_rand:000000012456 instead of constant\n" -" keys, the <keyspacelen> argument determines the max\n" -" number of values for the random number. For instance\n" -" if set to 10 only rand:000000000000 - rand:000000000009\n" -" range will be allowed.\n" +" Using this option the benchmark will expand the string __rand_int__\n" +" inside an argument with a 12 digits number in the specified range\n" +" from 0 to keyspacelen-1. The substitution changes every time a command\n" +" is executed. Default tests use this to hit random keys in the\n" +" specified range.\n" " -P <numreq> Pipeline <numreq> requests. Default 1 (no pipeline).\n" " -q Quiet. Just show query/sec values\n" " --csv Output in CSV format\n" |