RFE: record VM and JMH version into the JSON results, maybe add Runtime.getRuntime().availableProcessors()

Aleksey Shipilev shade at redhat.com
Thu Mar 23 09:54:23 UTC 2017


On 03/23/2017 10:50 AM, Jens Wilke wrote:
> I would love to see, that the information JMH-version, VM-version, VM-invoker, 
> VM-options are also recorded in the JSON result file which actually contains 
> almost "everything".
> 
> Another very useful piece of information would be the value of
> Runtime.getRuntime().availableProcessors()

Note that is different from the actual number of CPUs configured, especially on
embedded platforms. Look around how JMH figures out the number of "hot" CPUs.

> If this makes sense, I can do a patch.

Sure, that makes sense. JSON output is the dumping ground anyway. :)

-Aleksey



More information about the jmh-dev mailing list