com.carrotsearch.hppc.caliper
Class BenchmarkPut
java.lang.Object
com.google.caliper.api.Benchmark
com.google.caliper.SimpleBenchmark
com.carrotsearch.hppc.caliper.BenchmarkPut
- All Implemented Interfaces:
- com.google.caliper.Benchmark
public class BenchmarkPut
- extends com.google.caliper.SimpleBenchmark
Benchmark putting a given number of integers into a hashmap.
Method Summary |
static void |
main(java.lang.String[] args)
|
protected void |
setUp()
|
int |
timePut(int reps)
Time the 'put' operation. |
Methods inherited from class com.google.caliper.SimpleBenchmark |
bytesToUnits, createBenchmark, getInstanceUnitNames, getMemoryUnitNames, getTimeUnitNames, instancesToUnits, nanosToUnits, normalizeScenario, parameterNames, parameterValues, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keys
public int[] keys
distribution
public BenchmarkPut.Distribution distribution
implementation
public Implementations implementation
size
public int size
BenchmarkPut
public BenchmarkPut()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class com.google.caliper.SimpleBenchmark
- Throws:
java.lang.Exception
timePut
public int timePut(int reps)
- Time the 'put' operation.
main
public static void main(java.lang.String[] args)
Copyright © 2011 Carrot Search s.c.. All Rights Reserved.