JMH feature request: Formal and raw output formats
Aleksey Shipilev
aleksey.shipilev at oracle.com
Thu Oct 24 06:52:15 PDT 2013
On 10/23/2013 11:18 PM, Aleksey Shipilev wrote:
> On 10/22/2013 06:27 PM, Claes Redestad wrote:
>> It'd be a great help if it was possible to getting jmh results in a
>> machine-readable format, such as json or xml.
>
> Sounds good, how about we commit this infrastructure first:
> http://cr.openjdk.java.net/~shade/jmh/resultformats-1.webrev/
>
> ...and then work on both JSON and XML outputs?
Ok, I pushed this one plus the basic JSON parser:
http://hg.openjdk.java.net/code-tools/jmh/file/tip/jmh-core/src/main/java/org/openjdk/jmh/output/results/JSONResultFormat.java
Please try it out and see if something is missing, or should be
modified. Once we reach the consensus over the format, I will straighten
it up with the tests.
-Aleksey.
More information about the jmh-dev
mailing list