|
||||||||||
| 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.ArrayDequeBenchmark
public class ArrayDequeBenchmark
A micro-benchmark test case for comparing ArrayDeque (used as a Stack
against ObjectStack.
| Field Summary |
|---|
| Fields inherited from class com.carrotsearch.junitbenchmarks.AbstractBenchmark |
|---|
benchmarkRun |
| Constructor Summary | |
|---|---|
ArrayDequeBenchmark()
|
|
| 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 |
| Constructor Detail |
|---|
public ArrayDequeBenchmark()
| 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 | |||||||||