Class SizeMetric
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.metrics.SizeMetric
- All Implemented Interfaces:
Metric
Deprecated.
As of 1.4.9 use JMH instead
Determines the size of the serialized form of an object (in bytes).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SizeMetric
public SizeMetric()Deprecated.
-
-
Method Details
-
run
Deprecated.Description copied from interface:Metric
Run the test and produce a metric. -
run
Deprecated.since 1.3Description copied from interface:Metric
Run the test and produce a metric. -
toString
Deprecated. -
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
-