From: antirez <antirez@gmail.com>
Date: Wed, 18 Nov 2009 18:02:20 +0000 (+0100)
Subject: more writev tests/work
X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/ccb5332c5e6644a56b2af1ba3248f882d4f1bb60

more writev tests/work
---

diff --git a/benchmark.c b/benchmark.c
index ca2a0f0b..bf8e2834 100644
--- a/benchmark.c
+++ b/benchmark.c
@@ -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);