Open thjaeckle opened 3 years ago
From what I understand GraalJS runs in pure interpreter mode when not running on GraalVM (which it autoenables in the pom for jdk11). Nashorn compiles JS to JVM bytecode.
I confirm it's far slower on jdk 8 or 11.
Plus I was not able to use graalvm-ce-java11-22.0.0.2 Plus I was not able to run mvn exec:exec on Windows: problem with the ":" in the path?
java.nio.file.InvalidPathException: Illegal char <:> at index 73: D:\dev_test\graal-js-jdk11-maven-demo-master\target/compiler/compiler.jar:D:\dev_test\graal-js-jdk11-maven-demo-master\target/compiler/compiler-management.jar
When running against OpenJ9 JVM (JDK11)
I get the following output:
When running with hotspot, GraalJS beats Nashorn (and is overall faster than with OpenJ9 JVM). It this an known/expected result?