Class SizeMetric
- java.lang.Object
-
- com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
-
-
Constructor Summary
Constructors Constructor Description SizeMetric()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
biggerIsBetter()
Deprecated.Whether a big result is better for this metric.double
run(Product product, Target target)
Deprecated.Run the test and produce a metric.double
run(Product product, java.lang.Object object)
Deprecated.since 1.3java.lang.String
toString()
Deprecated.java.lang.String
unit()
Deprecated.The unit the metric is recorded in (for reporting purposes).
-
-
-
Method Detail
-
run
public double run(Product product, Target target) throws java.lang.Exception
Deprecated.Description copied from interface:Metric
Run the test and produce a metric.
-
run
public double run(Product product, java.lang.Object object) throws java.lang.Exception
Deprecated.since 1.3Description copied from interface:Metric
Run the test and produce a metric.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
unit
public java.lang.String unit()
Deprecated.Description copied from interface:Metric
The unit the metric is recorded in (for reporting purposes). e.g. "ms" or "bytes".
-
biggerIsBetter
public boolean biggerIsBetter()
Deprecated.Description copied from interface:Metric
Whether a big result is better for this metric.- Specified by:
biggerIsBetter
in interfaceMetric
-
-