more writev tests/work

This commit is contained in:
antirez 2009-11-18 19:02:20 +01:00
parent 6c4e61b389
commit ccb5332c5e

View File

@ -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);