Class CharacterCountMetric
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.metrics.CharacterCountMetric
- All Implemented Interfaces:
Metric
Deprecated.
As of 1.4.9 use JMH instead
Determines the amount of a special characters.
- Since:
- 1.4
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ch
private final char chDeprecated.
-
-
Constructor Details
-
CharacterCountMetric
public CharacterCountMetric(char ch) 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
-