RedisReplyDecoder redisDecoder = new RedisReplyDecoder(false);
ByteBuf cb = Unpooled.wrappedBuffer(multiBulkReply);
for (int i = 0; i < 10; i++) {
for (int j = 0; j < 100000; j++) {
Reply receive = redisDecoder.receive(cb);
cb.resetReaderIndex();
}
long end = System.currentTimeMillis();
long diff = end - start;
System.out.println(diff + " " + ((double)diff)/100000);
start = end;