Enable a benchmark to log information in the JMH output

XMLWordPrintable

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None
    • jmh

      Sometimes benchmark tests may need to output some useful information per trial, per iteration or per invocation (given the known issues with that) that augments the JMH output for warmups and iterations.

      It's easy to use System.out.println but that will ignore the JMH verbosity option and may not line up very well with JMHs own output.

      Perhaps it should be possible to obtain a PrintWriter so the benchmark can log it's own information, in addition to the verbosity level.

            Assignee:
            Aleksey Shipilev
            Reporter:
            Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: