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

Jens Wilke jw_list at headissue.com
Thu Mar 23 10:06:15 UTC 2017


On Donnerstag, 23. März 2017 16:54:23 ICT Aleksey Shipilev wrote:
> 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.

Can you give some pointers?

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

The only thing that bothers me is that it needs to be repeated per result 
since the top level structure is an array. If it happens and the format will 
be reconsidered hopefully it gets a struct containing version and results....

Cheers,

Jens

-- 
"Everything superfluous is wrong!"

   // Jens Wilke - headissue GmbH - Germany
 \//  https://headissue.com


More information about the jmh-dev mailing list