public LatencyBenchmark(final JedisExecutor pooledJedisExecutor) { this.jedisPublisherAndPrototype = null; LuaQScripts.loadMissingScripts(pooledJedisExecutor); this.luaQ = new LuaQ(pooledJedisExecutor, ThroughputBenchmark.class.getSimpleName()); }
public LatencyBenchmark(final Jedis jedis) { this.jedisPublisherAndPrototype = jedis; final JedisExecutor jedisExecutor = new DirectJedisExecutor(jedis); LuaQScripts.loadMissingScripts(jedisExecutor); this.luaQ = new LuaQ(jedisExecutor, ThroughputBenchmark.class.getSimpleName()); }