Class TextReporter
java.lang.Object
com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
- All Implemented Interfaces:
Reporter
Deprecated.
As of 1.4.9 use JMH instead
Reports results of Harness in text form designed for human reading.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Metric
Deprecated.private final PrintWriter
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Reports to System.out.TextReporter
(PrintWriter out) Deprecated.TextReporter
(Writer out) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.Benchmark has ended.void
Deprecated.void
Deprecated.void
metricFailed
(Product product, Exception e) Deprecated.void
metricRecorded
(Product product, double result) Deprecated.private String
Deprecated.void
Deprecated.Benchmark has started.void
startMetric
(Metric metric) Deprecated.void
startTarget
(Target target) Deprecated.
-
Field Details
-
out
Deprecated. -
currentMetric
Deprecated.
-
-
Constructor Details
-
TextReporter
Deprecated. -
TextReporter
Deprecated. -
TextReporter
public TextReporter()Deprecated.Reports to System.out.
-
-
Method Details
-
startBenchmark
public void startBenchmark()Deprecated.Description copied from interface:Reporter
Benchmark has started. This will always be called ONCE (and only once) BEFORE everything else.- Specified by:
startBenchmark
in interfaceReporter
-
startMetric
Deprecated.- Specified by:
startMetric
in interfaceReporter
-
startTarget
Deprecated.- Specified by:
startTarget
in interfaceReporter
-
metricRecorded
Deprecated.- Specified by:
metricRecorded
in interfaceReporter
-
metricFailed
Deprecated.- Specified by:
metricFailed
in interfaceReporter
-
endTarget
Deprecated. -
endMetric
Deprecated. -
endBenchmark
public void endBenchmark()Deprecated.Description copied from interface:Reporter
Benchmark has ended. This will always be called ONCE (and only once) AFTER everything else.- Specified by:
endBenchmark
in interfaceReporter
-
pad
Deprecated.
-