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
ccb5332c
Commit
ccb5332c
authored
Nov 18, 2009
by
antirez
Browse files
more writev tests/work
parent
6c4e61b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
benchmark.c
View file @
ccb5332c
...
...
@@ -565,6 +565,15 @@ int main(int argc, char **argv) {
aeMain
(
config
.
el
);
endBenchmark
(
"LRANGE (first 100 elements)"
);
prepareForBenchmark
();
c
=
createClient
();
if
(
!
c
)
exit
(
1
);
c
->
obuf
=
sdscat
(
c
->
obuf
,
"LRANGE mylist 0 299
\r\n
"
);
prepareClientForReply
(
c
,
REPLY_MBULK
);
createMissingClients
(
c
);
aeMain
(
config
.
el
);
endBenchmark
(
"LRANGE (first 300 elements)"
);
printf
(
"
\n
"
);
}
while
(
config
.
loop
);
...
...
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