java.lang.Object
com.thoughtworks.xstream.tools.benchmark.reporters.TextReporter
All Implemented Interfaces:
Reporter

public class TextReporter extends Object implements Reporter
Deprecated.
As of 1.4.9 use JMH instead
Reports results of Harness in text form designed for human reading.
See Also:
  • Field Details

    • out

      private final PrintWriter out
      Deprecated.
    • currentMetric

      private Metric currentMetric
      Deprecated.
  • Constructor Details

    • TextReporter

      public TextReporter(PrintWriter out)
      Deprecated.
    • TextReporter

      public TextReporter(Writer out)
      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 interface Reporter
    • startMetric

      public void startMetric(Metric metric)
      Deprecated.
      Specified by:
      startMetric in interface Reporter
    • startTarget

      public void startTarget(Target target)
      Deprecated.
      Specified by:
      startTarget in interface Reporter
    • metricRecorded

      public void metricRecorded(Product product, double result)
      Deprecated.
      Specified by:
      metricRecorded in interface Reporter
    • metricFailed

      public void metricFailed(Product product, Exception e)
      Deprecated.
      Specified by:
      metricFailed in interface Reporter
    • endTarget

      public void endTarget(Target target)
      Deprecated.
      Specified by:
      endTarget in interface Reporter
    • endMetric

      public void endMetric(Metric metric)
      Deprecated.
      Specified by:
      endMetric in interface Reporter
    • 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 interface Reporter
    • pad

      private String pad(String value)
      Deprecated.