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 09:50:17 UTC 2017
Hi all,
the output header of JMH now looks like:
# JMH 1.18 (released 10 days ago)
# VM version: JDK 1.8.0_121, VM 25.121-b13
# VM invoker: /opt//jdk1.8.0_latest/jre/bin/java
# VM options: -server -Xmx10G -XX:BiasedLockingStartupDelay=0 -verbose:gc -XX:
+PrintGCTimeStamps -XX:+PrintGCDetails
# Warmup: 1 iterations, 10 s each
# Measurement: 3 iterations, 20 s each
# Timeout: 10 min per iteration
# Threads: 4 threads, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark:
org.cache2k.benchmark.jmh.suite.eviction.symmetrical.ZipfianSequenceLoadingBenchmark.operation
# Parameters: (cacheFactory = org.cache2k.benchmark.Cache2kFactory, entryCount
= 1000000, factor = 10)
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()
If this makes sense, I can do a patch.
Cheers,
Jens
--
"Everything superfluous is wrong!"
// Jens Wilke - headissue GmbH - Germany
\// https://headissue.com
More information about the jmh-dev
mailing list