Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901039

Enable a benchmark to log information in the JMH output

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • 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.

            shade Aleksey Shipilev
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: