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 booleanbiggerIsBetter()Deprecated.Whether a big result is better for this metric.doublerun(Product product, Target target)Deprecated.Run the test and produce a metric.doublerun(Product product, java.lang.Object object)Deprecated.since 1.3java.lang.StringtoString()Deprecated.java.lang.Stringunit()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:MetricRun 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:MetricRun the test and produce a metric.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
unit
public java.lang.String unit()
Deprecated.Description copied from interface:MetricThe unit the metric is recorded in (for reporting purposes). e.g. "ms" or "bytes".
-
biggerIsBetter
public boolean biggerIsBetter()
Deprecated.Description copied from interface:MetricWhether a big result is better for this metric.- Specified by:
biggerIsBetterin interfaceMetric
-
-