The attached code is from a project including several optimized version of it. This is all JMH setup. Graal CE RC14 runs it noticeably slower than without Graal and EE RC14 runs it really a lot faster. While I appreciate the EE performance and the understand the need for a commercial version, I think the CE version should not be slower than a default Hotspot.
Fun fact, JDK 11 shows a performance regression compared to JDK 8.
EE and CE version deliver almost the same performance with disabled JVMCI Graal
mvn clean compile install; java -Xms2g -Xmx2g -XX:+AlwaysPreTouch -XX:-UseJVMCICompiler -jar target/benchmarks.jar CsvUtilsBenchmarkParse
The attached code is from a project including several optimized version of it. This is all JMH setup. Graal CE RC14 runs it noticeably slower than without Graal and EE RC14 runs it really a lot faster. While I appreciate the EE performance and the understand the need for a commercial version, I think the CE version should not be slower than a default Hotspot.
Fun fact, JDK 11 shows a performance regression compared to JDK 8.
Code: jmh-xlt.zip
Summary
GraalVM EE 1.0.0-rc14
mvn clean compile install; java -Xms2g -Xmx2g -XX:+AlwaysPreTouch -XX:+UseJVMCICompiler -jar target/benchmarks.jar CsvUtilsBenchmarkParse
GraalVM CE 1.0.0-rc14
mvn clean compile install; java -Xms2g -Xmx2g -XX:+AlwaysPreTouch -XX:+UseJVMCICompiler -jar target/benchmarks.jar CsvUtilsBenchmarkParse
GraalVM EE 1.0.0-rc14; Graal DISABLED
EE and CE version deliver almost the same performance with disabled JVMCI Graal
mvn clean compile install; java -Xms2g -Xmx2g -XX:+AlwaysPreTouch -XX:-UseJVMCICompiler -jar target/benchmarks.jar CsvUtilsBenchmarkParse
JDK 1.8.0_201, Java HotSpot(TM) 64-Bit Server VM, 25.201-b09
mvn clean compile install; java -Xms2g -Xmx2g -XX:+AlwaysPreTouch -jar target/benchmarks.jar CsvUtilsBenchmarkParse
JDK 11.0.2, OpenJDK 64-Bit Server VM, 11.0.2+9
Looks like a performance regression for JDK 11 over 8.
mvn clean compile install; java -Xms2g -Xmx2g -XX:+AlwaysPreTouch -jar target/benchmarks.jar CsvUtilsBenchmarkParse