-
Notifications
You must be signed in to change notification settings - Fork 181
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 when moving to GraalJS 23.1.1 (and GraalVM for JDK21) #779
Comments
Hi! Many thanks for the improvements already done. The numbers looks much better, although they are not as good as for 22.3.3. Here are my new measurements:
To run the test against 24.1.0-SNAPSHOT, I invoked the following commands within the GraalJS repository:
Here, M2_REPO_ROOT denotes the root of the .m2 repository used to test GraalJS version 23.1.1. After that I rerun the test for GraalJS 23.1.1 using the newly built GraalJS jar files. Is that enough or do I need to install some additional artifacts? Thanks. |
Hey!
After moving our project to the latest version of GraalVM its performance degraded drastically (up to 2 times). The internal logic of the project is quite complex, but I've prepared a synthetic test showing the performance difference between GraalVM 22.3.3 and GraalVM for JDK21. The test simply makes a bunch of calls to the
jsonParseStringify()
function defined as follows:It gives the following numbers in case of GraalVM 22.3.3
and the following ones in case of GraalVM JDK21:
The complete project may be found here https://github.com/efimbakulin/graalvm-jdk21-performance-test
Could you please give it a look? Probably there are some options which should be enabled to improve the things?
The text was updated successfully, but these errors were encountered: