Interface Metric
- All Known Implementing Classes:
CharacterCountMetric
,DeserializationSpeedMetric
,SerializationSpeedMetric
,SizeMetric
public interface Metric
Deprecated.
As of 1.4.9 use JMH instead
A metric is what's actually recorded. This provides a strategy
for what to do with an object for a given product and should
return a measurable result. For example it could serialize an
object against a product and return how long it took to complete
the operation.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Whether a big result is better for this metric.double
Deprecated.Run the test and produce a metric.double
Deprecated.since 1.3unit()
Deprecated.The unit the metric is recorded in (for reporting purposes).
-
Method Details
-
run
Deprecated.since 1.3Run the test and produce a metric. -
run
Deprecated.Run the test and produce a metric. -
unit
String unit()Deprecated.The unit the metric is recorded in (for reporting purposes). e.g. "ms" or "bytes". -
biggerIsBetter
boolean biggerIsBetter()Deprecated.Whether a big result is better for this metric.
-