We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33cc4ed commit ce9f3a4Copy full SHA for ce9f3a4
src/com/danga/MemCached/test/MemCachedBench.java
@@ -81,6 +81,18 @@ public static void main(String[] args) {
81
time = end - begin;
82
System.out.println(runs + " gets: " + time + "ms");
83
84
+ String[] keys = new String[ runs ];
85
+ int j = 0;
86
+ for (int i = start; i < start+runs; i++) {
87
+ keys[ j ] = keyBase + i;
88
+ j++;
89
+ }
90
+ begin = System.currentTimeMillis();
91
+ Map vals = mc.getMulti( keys );
92
+ end = System.currentTimeMillis();
93
+ time = end - begin;
94
+ System.out.println(runs + " getMulti: " + time + "ms");
95
+
96
begin = System.currentTimeMillis();
97
for (int i = start; i < start+runs; i++) {
98
mc.delete( keyBase + i );
0 commit comments