Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance degradation in Oracle GraalVM JDK 25ea #10695

Open
plokhotnyuk opened this issue Feb 17, 2025 · 2 comments
Open

Performance degradation in Oracle GraalVM JDK 25ea #10695

plokhotnyuk opened this issue Feb 17, 2025 · 2 comments
Assignees
Labels

Comments

@plokhotnyuk
Copy link

plokhotnyuk commented Feb 17, 2025

Describe the issue
About 9x performance degradation detected for Oracle GraalVM for JDK 25 comparing to GraalVM Community.

Steps to reproduce the issue

  1. git clone --depth 1 https://github.com/plokhotnyuk/jsoniter-scala
  2. sbt ++3.6.3 jsoniter-scala-benchmarkJVM/assembly
  3. /usr/lib/jvm/graalvm-jdk-25/bin/java -jar jsoniter-scala-benchmark/jvm/target/scala-3.6.3/benchmarks.jar -p size=128 BigDecimalReading.*jsoniterScala

Describe GraalVM and your environment:

More details
Below are results of benchmarks from Intel® Core™ i7-11800H (but the similar performance drop is reproducible on Intel® Core™ Ultra 9 285K):

GraalVM Community

Benchmark                        (size)   Mode  Cnt        Score        Error  Units
BigDecimalReading.jsoniterScala     128  thrpt    5  9384303.990 ± 421621.535  ops/s

Oracle GraalVM

Benchmark                        (size)   Mode  Cnt        Score        Error  Units
BigDecimalReading.jsoniterScala     128  thrpt    5  1021826.995 ± 251967.185  ops/s

Adding -XX:TieredStopAtLevel=1 helps to reduce performance drop a bit for Oracle GraalVM:

Benchmark                        (size)   Mode  Cnt        Score       Error  Units
BigDecimalReading.jsoniterScala     128  thrpt    5  2610858.435 ± 40855.634  ops/s
@davleopo
Copy link
Member

Thanks @plokhotnyuk - we will have a look.

@davleopo davleopo self-assigned this Feb 17, 2025
@davleopo
Copy link
Member

Tracked internally as GR-62248.

@dougxc dougxc changed the title Pefromance degradation in Oracle GraalVM JDK 25ea Performance degradation in Oracle GraalVM JDK 25ea Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants