com.carrotsearch.hppc.jub
Class HashMapBenchmark

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

public class HashMapBenchmark
extends com.carrotsearch.junitbenchmarks.AbstractBenchmark

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


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

Constructor Detail

HashMapBenchmark

public HashMapBenchmark()
Method Detail

createTestSequence

public static void createTestSequence()

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.