examples
Class ExpensiveObjectsBenchmark
java.lang.Object
com.google.caliper.api.Benchmark
com.google.caliper.SimpleBenchmark
examples.ExpensiveObjectsBenchmark
- All Implemented Interfaces:
- com.google.caliper.Benchmark
public class ExpensiveObjectsBenchmark
- extends com.google.caliper.SimpleBenchmark
Benchmarks creation and cloning various expensive objects.
| Methods inherited from class com.google.caliper.SimpleBenchmark |
bytesToUnits, createBenchmark, getInstanceUnitNames, getMemoryUnitNames, getTimeUnitNames, instancesToUnits, nanosToUnits, normalizeScenario, parameterNames, parameterValues, setUp, tearDown |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExpensiveObjectsBenchmark
public ExpensiveObjectsBenchmark()
timeNewDecimalFormatSymbols
public void timeNewDecimalFormatSymbols(int reps)
timeClonedDecimalFormatSymbols
public void timeClonedDecimalFormatSymbols(int reps)
timeNewNumberFormat
public void timeNewNumberFormat(int reps)
timeClonedNumberFormat
public void timeClonedNumberFormat(int reps)
timeNewSimpleDateFormat
public void timeNewSimpleDateFormat(int reps)
timeClonedSimpleDateFormat
public void timeClonedSimpleDateFormat(int reps)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.