@@ -0,0 +1,702 @@
+package org.finikes.sider;%0A%0Aimport redis.clients.jedis.Jedis;%0A%0A/**%0A * %0A * @author Finikes.Wu%0A *%0A */%0Apublic class NonclusterMGetTester %7B%0A%09static int PREPARE_DATA_SIZE = 100;%0A%0A%09/**%0A%09 * %E9%9D%9E%E9%9B%86%E7%BE%A4%E7%8E%AF%E5%A2%83%E4%B8%8B%E6%B5%8B%E8%AF%95mget%E6%96%B9%E5%BC%8F%E6%89%B9%E9%87%8F%E8%AF%BB%E5%8F%96%E6%80%A7%E8%83%BD%0A%09 * %0A%09 * @param args%0A%09 */%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Jedis jedis = new Jedis(%22127.0.0.1%22, 6383);%0A%09%09String%5B%5D keys = ClusterMGetTesting.GET_TEST_PREPARE_DATA(PREPARE_DATA_SIZE);%0A%09%09long start = System.currentTimeMillis();%0A%09%09int cycle = 100000;%0A%09%09for (int i = 0; i %3C cycle; i++)%0A%09%09%09jedis.mget(keys);%0A%09%09long consume = System.currentTimeMillis() - start;%0A%09%09System.out.println(%22%E9%9D%9E%E9%9B%86%E7%BE%A4%E7%8E%AF%E5%A2%83mget%E6%96%B9%E6%B3%95%E6%89%B9%E9%87%8F%E5%A4%84%E7%90%86%22 + PREPARE_DATA_SIZE + %22%E4%B8%AAget%E6%8C%87%E4%BB%A4%22 + cycle + %22%E6%AC%A1%E8%80%97%E6%97%B6: %22 + consume + %22 %E6%AF%AB%E7%A7%92.%22);%0A%09%09jedis.close();%0A%09%7D%0A%0A%7D%0A

Create NonclusterMGetTester.java