Pipeline pipeline = conn.pipelined();
long time = System.currentTimeMillis();
for (int p = 0; p < passes; p++) {
for (int pi = 0; pi < psize; pi++) {
pipeline.rpoplpush(key, key);
}
pipeline.sync();
}
return (passes * psize) / (System.currentTimeMillis() - time);