4 ms·
For those not reading the comment section: Regarding the example benchmark: It is mainly testing the performance of the String::compareToIgnoreCase method, whi
by kasperni 8y ago
For those not reading the comment section:
Regarding the example benchmark: It is mainly testing the performance of the String::compareToIgnoreCase method, which has a very different implementation in Java 9 and beyond compared to Java 8 (due to the "compact strings" feature). The method generally is not very complex, so it is not ideal for compiler comparisons.
...
The largest workload tested on Graal is currently the production use of Graal at Twitter where they get somewhere between 12% (CE) and 24% (EE) improvement.
- merb 8y agoI actually checked Play! on akka-http on Graal (maybe I write a Blog about it). Just the "Hello World" of Play! and I've seen like 25% improvements in request/s with CE. I think a full Scala Codebase get the most out of Graal. However running Play dev mode with Graal EE didn't worked well it sometimes had strange Class issue's where it tried to search a "java.lang.Boolnae" class (notice the misspelling) I also looked into what else Graal is capable of and it's cool to run C programs or even curl on top of it. Sadly I wished the NODE.JS integration would've been better. I wished I could run angular universal on top of Graal within Play! so that Play! would've been able todo the same thing than .net core with it's angular integration (just without running node!). However Graal can only run "pure" JavaScript (https://github.com/graalvm/graaljs/issues/2 https://github.com/graalvm/graaljs/issues/2). (native-image does not work with Scala 2.12 (Scala 2.12 emit's indy which does not work with SubstrateVM) or even Play! on 2.11 did not work)
- threeseed 8y agoYou can use ScalaJS. https://github.com/greencatsoft/scalajs-angular https://github.com/greencatsoft/scalajs-angular
- ksec 8y agoWhat are the difference between CE and EE, I thought the VM were the same it is more of a toolchain options?