examples
Class ContainsBenchmark
java.lang.Object
com.google.caliper.api.Benchmark
com.google.caliper.SimpleBenchmark
examples.ContainsBenchmark
- All Implemented Interfaces:
- com.google.caliper.Benchmark
public class ContainsBenchmark
- extends com.google.caliper.SimpleBenchmark
| Methods inherited from class com.google.caliper.SimpleBenchmark |
bytesToUnits, createBenchmark, getInstanceUnitNames, getMemoryUnitNames, instancesToUnits, normalizeScenario, parameterNames, parameterValues, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContainsBenchmark
public ContainsBenchmark()
setUp
protected void setUp()
- Overrides:
setUp in class com.google.caliper.SimpleBenchmark
getTimeUnitNames
public Map<String,Integer> getTimeUnitNames()
- Specified by:
getTimeUnitNames in interface com.google.caliper.Benchmark- Overrides:
getTimeUnitNames in class com.google.caliper.SimpleBenchmark
nanosToUnits
public double nanosToUnits(double nanos)
- Specified by:
nanosToUnits in interface com.google.caliper.Benchmark- Overrides:
nanosToUnits in class com.google.caliper.SimpleBenchmark
timeContains
public void timeContains(int reps)
main
public static void main(String[] args)
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.