com.carrotsearch.hppc.jub
Class IterationSpeedBenchmark
java.lang.Object
com.carrotsearch.junitbenchmarks.AbstractBenchmark
com.carrotsearch.hppc.jub.IterationSpeedBenchmark
public class IterationSpeedBenchmark
- extends com.carrotsearch.junitbenchmarks.AbstractBenchmark
Various iteration approaches on an integer list.
Fields inherited from class com.carrotsearch.junitbenchmarks.AbstractBenchmark |
benchmarkRun |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CELLS
public static final int CELLS
- See Also:
- Constant Field Values
guard
public volatile int guard
IterationSpeedBenchmark
public IterationSpeedBenchmark()
before
public static void before()
after
public static void after()
testSimpleGetLoop
public void testSimpleGetLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testDirectBufferLoop
public void testDirectBufferLoop()
throws java.lang.Exception
- Throws:
java.lang.Exception
testIterableCursor
public void testIterableCursor()
throws java.lang.Exception
- Throws:
java.lang.Exception
testWithProcedureClosure
public void testWithProcedureClosure()
testDirectBufferWithNewFor
public void testDirectBufferWithNewFor()
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011 Carrot Search s.c.. All Rights Reserved.