public class ListBenchmark extends ElementList
CAP, factor, size
Constructor and Description |
---|
ListBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
arrayListAdd()
bench for adding data to the [@link ArrayList]
|
void |
arrayListGet()
benchmark for retrieving an element at a specified index
|
void |
generateData()
Generating the data, just once per runtime.
|
void |
intArrayListAdd()
Bench for adding the data to the
IntArrayList . |
void |
intArrayListGet()
bench for retrieving an element at a specified index
|
static void |
main(String[] args)
Simple setUp of a benchmark.
|
void |
vectorAdd()
benchmark for adding data to [@link java.util.Vector]
|
void |
vectorGet()
benchmark for retrieving an element at a specified index
|
public void generateData()
public void intArrayListAdd()
IntArrayList
.public void intArrayListGet()
public void arrayListAdd()
public void arrayListGet()
public void vectorAdd()
public void vectorGet()
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.