From ccb5332c5e6644a56b2af1ba3248f882d4f1bb60 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 18 Nov 2009 19:02:20 +0100 Subject: [PATCH] more writev tests/work --- benchmark.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.47.2