Processing JMH output

Aleksey Shipilev aleksey.shipilev at oracle.com
Tue Sep 8 20:26:46 UTC 2015


Hi,

What's the problem with using (S)CSV, JSON, etc. output produced by JMH?

$ java -jar benchmarks.jar -h

  -r <time>        Time to spend at each measurement iteration.
  -rf <type>       Result format type. See the list of available
                   result formats first.

$ java -jar benchmarks.jar -lrf
Available formats: text, csv, scsv, json, latex

Thanks,
-Aleksey

On 09/08/2015 11:19 PM, Nicolai Parlog wrote:
>  Hi!
> 
> After running the awesome JMH I get a nice table of final results. At
> some point I would like to process or publish the data so I need it in
> some kind of spreadsheet. Of course I could write a command line tool
> that executes the JAR and parses the output but I wonder whether a
> better possibility exists.
> 
> For example it would be great to provide alternative implementations
> of 'OutputFormat' and have it configured in the pom.
> 
> I would consider to implement something if there is general interest
> and some guidance of what the JMH team considers the best approach.
> 
>  so long ... Nicolai
> 
> 
> 
> -- 
> 
> PGP Key:
>     http://keys.gnupg.net/pks/lookup?op=vindex&search=0xCA3BAD2E9CCCD509
> 
> Web:
>     http://codefx.org
>         a blog about software development
>     http://do-foss.de
>         Free and Open Source Software for the City of Dortmund
> 
> Twitter:
>     https://twitter.com/nipafx
> 
> 




More information about the jmh-dev mailing list