Class FastCacheTest
java.lang.Object
org.glassfish.pfl.dynamic.copyobject.impl.FastCacheTest
Test out whether FastCache is effective or not.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
WORD_LIST
-
PATTERN
private static int[] PATTERN -
map
-
cache
-
NUM_LOOPS
private static int NUM_LOOPS
-
-
Constructor Details
-
FastCacheTest
public FastCacheTest()
-
-
Method Details
-
warmUp
private static void warmUp() -
timeTest
private static void timeTest(boolean useFastCache) -
main
-