Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
072a9767
Commit
072a9767
authored
Oct 28, 2013
by
antirez
Browse files
redis-benchmark: update help for new __rand_int__ form.
parent
f3a71408
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
072a9767
...
...
@@ -555,12 +555,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
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment