RFR: 8312420: Integrate Graal's blender micro benchmark [v2]

Joshua Cao duke at openjdk.org
Tue Jul 25 17:03:07 UTC 2023


> We would like to integrate Graal's blender micro benchmark from https://www.graalvm.org/22.1/examples/java-performance-examples/. We have been using this benchmark to test our partial escape analysis work (https://mail.openjdk.org/pipermail/hotspot-compiler-dev/2023-July/066670.html). This test can exist independently of the project.
> 
> 
> example command to run test:
> 
> 
> make run-test TEST=micro:org.openjdk.bench.vm.compiler.pea.Blender MICRO="FORK=1;OPTIONS=-prof gc -gc true"
> 
> 
> example output (not complete):
> 
> 
> Benchmark                               (iteration)  Mode  Cnt          Score   Error   Units                                                                       [29/1913]
> Blender.initialize                                1  avgt       227997775.000           ns/op
> Blender.initialize:·gc.alloc.rate                 1  avgt             167.192          MB/sec
> Blender.initialize:·gc.alloc.rate.norm            1  avgt        40000081.600            B/op
> Blender.initialize:·gc.count                      1  avgt               4.000          counts
> Blender.initialize:·gc.time                       1  avgt              65.000              ms
> Blender.initialize                                2  avgt       226255767.800           ns/op
> Blender.initialize:·gc.alloc.rate                 2  avgt             168.466          MB/sec
> Blender.initialize:·gc.alloc.rate.norm            2  avgt        40000081.600            B/op
> Blender.initialize:·gc.count                      2  avgt               4.000          counts
> Blender.initialize:·gc.time                       2  avgt              58.000              ms
> Blender.initialize                                3  avgt       225596324.600           ns/op
> Blender.initialize:·gc.alloc.rate                 3  avgt             168.960          MB/sec
> Blender.initialize:·gc.alloc.rate.norm            3  avgt        40000081.600            B/op
> Blender.initialize:·gc.count                      3  avgt               4.000          counts
> Blender.initialize:·gc.time                       3  avgt              55.000              ms
> Blender.initialize                                4  avgt       224856811.000           ns/op
> Blender.initialize:·gc.alloc.rate                 4  avgt             169.520          MB/sec
> Blender.initialize:·gc.alloc.rate.norm            4  avgt        40000081.600            B/op
> Blender.initialize:·gc.count                      4  avgt               4.000          counts
> Blender.initialize:·gc.time ...

Joshua Cao has updated the pull request incrementally with one additional commit since the last revision:

  change Amazon license to Oracle

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14941/files
  - new: https://git.openjdk.org/jdk/pull/14941/files/d00ebb34..c0bc6b90

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

  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/14941.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14941/head:pull/14941

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


More information about the hotspot-compiler-dev mailing list