Class SerializationSpeedMetric
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.metrics.SerializationSpeedMetric
- All Implemented Interfaces:
Metric
Deprecated.
As of 1.4.9 use JMH instead
Determines how long it takes to serialize an object (in ms).
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
iterations
private int iterationsDeprecated.
-
-
Constructor Details
-
SerializationSpeedMetric
public SerializationSpeedMetric(int iterations) 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. -
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
-
toString
Deprecated.
-