Running GraalJS on stock JDK11
- Clone this repository
git clone https://github.com/graalvm/graal-js-jdk11-maven-demo
- Move to the newly cloned directory
- Make sure that JAVA_HOME is pointed at a JDK11
- Package the project using Maven
To Execute with Graal run
To Execute without Graal run
The benchmark prints the time per iteration in milliseconds, so lower values are better.
Running on GraalVM
This project is also setup to run on GraalVM. The setup is the same except that your JAVA_HOME should point to a directory contain GraalVM. In this case, execution without Graal is not supported.