Class TextReporter

  • All Implemented Interfaces:
    Reporter

    public class TextReporter
    extends java.lang.Object
    implements Reporter
    Deprecated.
    As of 1.4.9 use JMH instead
    Reports results of Harness in text form designed for human reading.
    Author:
    Joe Walnes
    See Also:
    Harness, Reporter
    • Constructor Detail

      • TextReporter

        public TextReporter​(java.io.PrintWriter out)
        Deprecated.
      • TextReporter

        public TextReporter​(java.io.Writer out)
        Deprecated.
      • TextReporter

        public TextReporter()
        Deprecated.
        Reports to System.out.
    • Method Detail

      • 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
      • metricRecorded

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

        public void metricFailed​(Product product,
                                 java.lang.Exception e)
        Deprecated.
        Specified by:
        metricFailed 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