Integrated: 8361076: Add benchmark for ImageReader in preparation for Valhalla changes

David Beaumont duke at openjdk.org
Wed Jul 16 14:36:49 UTC 2025


On Mon, 30 Jun 2025 12:27:40 GMT, David Beaumont <duke at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 770d2b41
Author:    David Beaumont <david.beaumont at oracle.com>
Committer: Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/770d2b41d13a8a5815735c355187a476eeb9de22
Stats:     1080 lines in 2 files changed: 1080 ins; 0 del; 0 mod

8361076: Add benchmark for ImageReader in preparation for Valhalla changes

Reviewed-by: rriggs, liach, ihse

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

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


More information about the build-dev mailing list