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
8dd19d81
Commit
8dd19d81
authored
Jan 31, 2012
by
antirez
Browse files
Fixed redis-benchmark --help output typo
parent
3c08fdae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-benchmark.c
View file @
8dd19d81
...
@@ -426,10 +426,10 @@ usage:
...
@@ -426,10 +426,10 @@ usage:
" -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
"
" Using this option the benchmark will get/set keys
\n
"
" Using this option the benchmark will get/set keys
\n
"
" in the form mykey_rand000000012456 instead of constant
\n
"
" in the form mykey_rand
:
000000012456 instead of constant
\n
"
" keys, the <keyspacelen> argument determines the max
\n
"
" keys, the <keyspacelen> argument determines the max
\n
"
" number of values for the random number. For instance
\n
"
" number of values for the random number. For instance
\n
"
" if set to 10 only rand000000000000 - rand000000000009
\n
"
" if set to 10 only rand
:
000000000000 - rand
:
000000000009
\n
"
" range will be allowed.
\n
"
" range will be allowed.
\n
"
" -q Quiet. Just show query/sec values
\n
"
" -q Quiet. Just show query/sec values
\n
"
" --csv Output in CSV format
\n
"
" --csv Output in CSV format
\n
"
...
@@ -446,6 +446,8 @@ usage:
...
@@ -446,6 +446,8 @@ usage:
" $ redis-benchmark -t set -n 1000000 -r 100000000
\n\n
"
" $ redis-benchmark -t set -n 1000000 -r 100000000
\n\n
"
" Benchmark 127.0.0.1:6379 for a few commands producing CSV output:
\n
"
" Benchmark 127.0.0.1:6379 for a few commands producing CSV output:
\n
"
" $ redis-benchmark -t ping,set,get -n 100000 --csv
\n\n
"
" $ redis-benchmark -t ping,set,get -n 100000 --csv
\n\n
"
" Fill a list with 10000 random elements:
\n
"
" $ redis-benchmark -r 10000 -n 10000 lpush mylist ele:rand:000000000000
\n\n
"
);
);
exit
(
exit_status
);
exit
(
exit_status
);
}
}
...
...
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