Regarding GraalVM CE and Java performance comparison #5680
-
Hi, I have made my application run with graalvm java. I benchmarked the performance and saw that openJDK-java is faster than the graalvm java. And also memory footprint of my application when I run with java is around 60 MB whereas in graalVM CE it was about 130MB. ( My application consists of running a jetty server and when a request is received by the server, it will dynamically load a class and send the response.)
I have also tested it by converting the application to native-image (memory footprint of binary about 50MB). As per the above stats, java is faster than graal and native-image. Is it the expected performance/behavior with GraalVM Community Edition? Will GraalVM Enterprise Edition gives faster performance ? If so, what is the use of the GraalVm community edition's java and native-image ?? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Roopsai507, thank you for your question. To comment on specific performance characteristics, we would need more details about the benchmark setup. This includes the benchmark available in source code form, a description of the target machine, a script for producing the load, and a description of the tools and measurement methodologies applied. For best throughput peak performance, we do recommend the GraalVM Enterprise Edition. You can use it for free for development and evaluation purposes; it's also free on Oracle Cloud. You can download it here. For a detailed evaluation on different workloads of GraalVM CE, EE, and OpenJDK, see the Renaissance benchmark suite at https://renaissance.dev. Native Image is typically recommended when startup and memory footprint matters. It can also achieve high throughput, but primarily when used in connection with profile-guided optimizations available in the Enterprise Edition. |
Beta Was this translation helpful? Give feedback.
Hi @Roopsai507, thank you for your question.
To comment on specific performance characteristics, we would need more details about the benchmark setup. This includes the benchmark available in source code form, a description of the target machine, a script for producing the load, and a description of the tools and measurement methodologies applied.
For best throughput peak performance, we do recommend the GraalVM Enterprise Edition. You can use it for free for development and evaluation purposes; it's also free on Oracle Cloud. You can download it here. For a detailed evaluation on different workloads of GraalVM CE, EE, and OpenJDK, see the Renaissance benchmark suite at https://renaissanc…