com.carrotsearch.hppc.jub
Class ObjectObjectOpenHashMapBenchmark

java.lang.Object
  extended by com.carrotsearch.junitbenchmarks.AbstractBenchmark
      extended by com.carrotsearch.hppc.jub.ObjectObjectOpenHashMapBenchmark

public class ObjectObjectOpenHashMapBenchmark
extends com.carrotsearch.junitbenchmarks.AbstractBenchmark

A micro-benchmark test case for comparing HashMap against ObjectObjectOpenHashMap.


Field Summary
static int COUNT
           
 
Fields inherited from class com.carrotsearch.junitbenchmarks.AbstractBenchmark
benchmarkRun
 
Constructor Summary
ObjectObjectOpenHashMapBenchmark()
           
 
Method Summary
 void before()
           
static void cleanup()
           
static void createTestSequence()
           
 void testMultipleOperations()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT

public static final int COUNT
See Also:
Constant Field Values
Constructor Detail

ObjectObjectOpenHashMapBenchmark

public ObjectObjectOpenHashMapBenchmark()
Method Detail

createTestSequence

public static void createTestSequence()

cleanup

public static void cleanup()

before

public void before()

testMultipleOperations

public void testMultipleOperations()
                            throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2011 Carrot Search s.c.. All Rights Reserved.