examples
Class DemoBenchmark
java.lang.Object
com.google.caliper.api.Benchmark
examples.DemoBenchmark
public class DemoBenchmark
- extends com.google.caliper.api.Benchmark
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setUp
protected void setUp()
throws Exception
- Overrides:
setUp in class com.google.caliper.api.Benchmark
- Throws:
Exception
timeSomething
public int timeSomething(int reps)
timeSomethingElse
public int timeSomethingElse(int reps)
tearDown
protected void tearDown()
throws Exception
- Overrides:
tearDown in class com.google.caliper.api.Benchmark
- Throws:
Exception
main
public static void main(String[] args)
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.