react-graalvm-springboot
react-graalvm-springboot copied to clipboard
Use proper graalvm api
Implementation in this repo in not graalvm, it is graalvm's js script engine. You can read more on this here https://www.graalvm.org/reference-manual/js/ScriptEngine/ Proper way to use graalvm on stock jdk is documented here https://www.graalvm.org/reference-manual/js/RunOnJDK/ You can check examples here https://github.com/graalvm/graal-js-jdk11-maven-demo/blob/master/src/main/java/com/mycompany/app/App.java .
Proper way to use fast graalvm javascript is using Graalvm JVM. You can check examples here: https://github.com/graalvm/graalvm-demos/tree/master/js-java-async-helidon
You will get 2x-10x speedup when you refactor your code to use Contexts and use GraalVM JVM.