public final class StackBenchmark extends Object
FastIntStack against Stack. Just a simple example of
Perfidix.| Constructor and Description |
|---|
StackBenchmark() |
| Modifier and Type | Method and Description |
|---|---|
void |
benchArrayDequePush() |
void |
benchArrayDequeStackPop()
Bench for popping the data from the
ArrayDeque. |
void |
benchFastIntPush()
Bench for pushing the data to the
FastIntStack. |
void |
benchFastIntStackPop()
Bench for popping the data from the
FastIntStack. |
void |
benchNormalIntPop()
Bench for popping the data from the
Stack. |
void |
benchNormalIntPush()
Bench for pushing the data to the
Stack. |
void |
generateData()
Generating the data, just once per runtime.
|
static void |
main(String[] args)
Simple setUp of a benchmark.
|
public void generateData()
public void benchFastIntPush()
FastIntStack.public void benchFastIntStackPop()
FastIntStack.public void benchNormalIntPush()
Stack.public void benchNormalIntPop()
Stack.public void benchArrayDequePush()
public void benchArrayDequeStackPop()
ArrayDeque.public static void main(String[] args)
Benchmark is initialized with
two Meters (TimeMeter and MemMeter). Afterwards
the benchmark is running with a TabularOutput as a listener registered.
The result of the benchmark is displayed in a complete table at the end.args - not used hereCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.