summaryrefslogtreecommitdiff
path: root/benchmark.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-11-18 20:32:03 +0100
committerantirez <antirez@gmail.com>2009-11-18 20:32:03 +0100
commitc28b42acd9b32c8888d7265adc528ded7a787919 (patch)
tree8bd3798255b5962ccfdf350e407cdb015f9ff892 /benchmark.c
parentcc30e368a3fd049bd5ffaa83f16cbac557d8279d (diff)
downloadredis-c28b42acd9b32c8888d7265adc528ded7a787919.tar.gz
more experiments with long replies, glue output buffer, and writev.
Diffstat (limited to 'benchmark.c')
-rw-r--r--benchmark.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/benchmark.c b/benchmark.c
index a933eba9c..6b4fb2ff4 100644
--- a/benchmark.c
+++ b/benchmark.c
@@ -486,6 +486,7 @@ int main(int argc, char **argv) {
}
do {
+#if 0
prepareForBenchmark();
c = createClient();
if (!c) exit(1);
@@ -547,6 +548,7 @@ int main(int argc, char **argv) {
aeMain(config.el);
endBenchmark("PING");
+#endif
prepareForBenchmark();
c = createClient();
if (!c) exit(1);
@@ -556,6 +558,7 @@ int main(int argc, char **argv) {
aeMain(config.el);
endBenchmark("LPUSH (again, in order to bench LRANGE)");
+#if 0
prepareForBenchmark();
c = createClient();
if (!c) exit(1);
@@ -582,6 +585,7 @@ int main(int argc, char **argv) {
createMissingClients(c);
aeMain(config.el);
endBenchmark("LRANGE (first 450 elements)");
+#endif
prepareForBenchmark();
c = createClient();