RFR: 8314438: NMT: Performance benchmarks are needed to have a baseline for comparison of improvements
Alan Bateman
alanb at openjdk.org
Mon Sep 25 07:44:14 UTC 2023
On Tue, 5 Sep 2023 07:53:36 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
> A new benchmark for measuring the NMT overhead in `summary` and `detail` modes.
> The tests are run using:
>
> make CONF=debug test TEST="micro:java.util.NMTBenchmark" MICRO="RESULTS_FORMAT=json"
>
> The results are written to a JSON file that can be visualized using [JMH Visualizer](https://jmh.morethan.io/).
>
> ### Notes
> A separate [issue](https://bugs.openjdk.org/browse/JDK-8316814) is created for preparing a progfram for validating and analyzing the JMH outputs.
> Another separate [issue](https://bugs.openjdk.org/browse/JDK-8316813) is created for measuring the virtual memory tracing parts of NMT.
test/micro/org/openjdk/bench/java/util/NMTBenchmark.java line 24:
> 22: */
> 23:
> 24: package org.openjdk.bench.java.util;
The micros in test/micro/org/openjdk/bench/java/util are usually to test methods in java.util.**. Should this be moved to test/micro/org/openjdk/bench/vm/runtime?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15563#discussion_r1335502840
More information about the core-libs-dev
mailing list