RFR: 8361076: Add benchmark for ImageReader in preparation for Valhalla changes [v3]

David Beaumont duke at openjdk.org
Mon Jun 30 15:08:25 UTC 2025


> Initial benchmark to capture at least some comparative measures of ImageReader performance.
> 
> Current results on my laptop:
> 
> Benchmark                                         Mode  Cnt   Score    Error  Units
> NewImageBenchmark.warmCache_CountAllNodes         avgt    5   0.785 ±  0.140  ms/op
> NewImageBenchmark.coldStart_CountOnly               ss    5  34.051 ± 17.662  ms/op
> NewImageBenchmark.coldStart_InitAndCount            ss    5  31.006 ±  9.674  ms/op
> NewImageBenchmark.coldStart_LoadJavacInitClasses    ss    5   3.752 ±  6.873  ms/op
> 
> The upcoming changes to ImageReader should show significant improvements to these results.

David Beaumont has updated the pull request incrementally with one additional commit since the last revision:

  Some tidying up relating to the state objects.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26044/files
  - new: https://git.openjdk.org/jdk/pull/26044/files/489d720a..089b68e2

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=26044&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=26044&range=01-02

  Stats: 26 lines in 1 file changed: 17 ins; 5 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26044.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26044/head:pull/26044

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


More information about the build-dev mailing list