RFR: 8287904: Reduce runtime of java.net microbenchmarks

Claes Redestad redestad at openjdk.org
Thu Jun 16 09:38:07 UTC 2022


- Remove a couple of benchmarks with very high, environment-dependent variance (not improved by increasing warmup)
- Reduce number of parameters, forks, iterations to improve runtime without sacrificing much data quality 
- Fix one broken microbenchmark (`NetworkInterfaceLookup`) that reflects into encapsulated internals without explicitly opening the package.

Estimated runtime reduced from 10h38m to 1h35m

-------------

Commit messages:
 - Merge branch 'master' into micro_runtime_jnet
 - Reduce configurations, remove very noisy benchmarks
 - Reduce runtime of java.net microbenchmarks

Changes: https://git.openjdk.org/jdk/pull/9182/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9182&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8287904
  Stats: 432 lines in 13 files changed: 53 ins; 374 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/9182.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9182/head:pull/9182

PR: https://git.openjdk.org/jdk/pull/9182


More information about the nio-dev mailing list