RFE: record VM and JMH version into the JSON results, maybe add Runtime.getRuntime().availableProcessors()
Bernd Eckenfels
ecki at zusammenkunft.net
Thu Mar 23 20:33:55 UTC 2017
The number of CPUs returned take into account the CPU mask under Windows and for other OS see for example: https://bugs.openjdk.java.net/browse/JDK-6515172
Gruss
Bernd
--
http://bernd.eckenfels.net
________________________________
From: jmh-dev <jmh-dev-bounces at openjdk.java.net> on behalf of Jens Wilke <jw_list at headissue.com>
Sent: Thursday, March 23, 2017 11:06:15 AM
To: Aleksey Shipilev
Cc: jmh-dev at openjdk.java.net
Subject: Re: RFE: record VM and JMH version into the JSON results, maybe add Runtime.getRuntime().availableProcessors()
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