}
do {
- prepareForBenchmark();
- c = createClient();
- if (!c) exit(1);
- c->obuf = sdscat(c->obuf,"PING\r\n");
- c->replytype = REPLY_RETCODE;
- createMissingClients(c);
- aeMain(config.el);
- endBenchmark("PING");
-
prepareForBenchmark();
c = createClient();
if (!c) exit(1);
aeMain(config.el);
endBenchmark("LPOP");
+ prepareForBenchmark();
+ c = createClient();
+ if (!c) exit(1);
+ c->obuf = sdscat(c->obuf,"PING\r\n");
+ c->replytype = REPLY_RETCODE;
+ createMissingClients(c);
+ aeMain(config.el);
+ endBenchmark("PING");
+
printf("\n");
} while(config.loop);