JMH reports (original) (raw)

Julien Nicoulaud julien.nicoulaud at gmail.com
Mon May 6 04:42:44 PDT 2013


2013/5/6 Aleksey Shipilev <aleksey.shipilev at oracle.com>

On 05/04/2013 03:53 PM, Julien Nicoulaud wrote: > Here is some feedback on JMH reports after setting it up on a project:

Thanks! > * The most convenient format for automating stuff is CSV, but > unfortunately the CSV report only contains raw iterations data, not the > per-test "Mean" and "Mean error" as shown in the text report. Maybe this > could be solved by allowing several output formats at the same time, and > add a "aggregated CSV" output format ? Yes, we are considering this. You are not alone in these desires :) Great, thanks :)

> * When redirecting output to a file with the --output option, there is no > more output in the console. It would be great to allow to use both at the > same time ? Nope, that fits the definition of "redirecting everything into the file". I would guess you'd rather want to tee the console output to file to get the desired effect. Although, we will certainly consider this when reworking the output formatters. OK, also one point more in favor of not redirecting everything: the report contains the logs of the code under tests, which breaks the CSV syntax for example. So IMHO it would be better if the --output option just meant "report file" with only JMH output. As you said, users can use shell redirections if they want to redirect everything.

Thanks, -Aleksey. Cheers, Julien



More information about the jmh-dev mailing list