|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.carrotsearch.junitbenchmarks.AbstractBenchmark
com.carrotsearch.hppc.jub.ObjectStackBenchmark
public class ObjectStackBenchmark
A micro-benchmark test case for ObjectStack
.
Field Summary | |
---|---|
static int |
COUNT
|
Fields inherited from class com.carrotsearch.junitbenchmarks.AbstractBenchmark |
---|
benchmarkRun |
Constructor Summary | |
---|---|
ObjectStackBenchmark()
|
Method Summary | |
---|---|
void |
before()
|
void |
testPushPops()
Test sequential push and pops from the stack (first a lot of pushes, then a lot of pops). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COUNT
Constructor Detail |
---|
public ObjectStackBenchmark()
Method Detail |
---|
public void before()
public void testPushPops() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |