com.google.caliper.runner
Class BenchmarkMethod
java.lang.Object
com.google.caliper.runner.BenchmarkMethod
public final class BenchmarkMethod
- extends Object
A method of a benchmark class that is recognized (by the appropriate Instrument) as a method
that should undergo benchmark testing; for example, for the default instrument ("time"), methods
that begin with the string "time" are recognized.
BenchmarkMethod
public BenchmarkMethod(BenchmarkClass benchmarkClass,
Method method,
String shortName)
name
public String name()
className
public String className()
method
public Method method()
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009-2011 Google, Inc.. All Rights Reserved.