Sep 6, 2018 · 1 min read
GraalVM especially shines with Scala.
Please see result of benchmarks for different versions of JDK and GraalVM in JSON parsing domain — most slow libraries got 2nd wind with it and shows 2x-10x greater throughput:
BTW, jsoniter-scala have already mitigated some performance regressions in Graal JIT/GraalVM CE: https://github.com/plokhotnyuk/jsoniter-scala/blob/76a150f0ebb1f981bfd4ad3203c730344eefc965/jsoniter-scala-core/src/main/scala/com/github/plokhotnyuk/jsoniter_scala/core/JsonWriter.scala#L1625-L1668
Also, it is ready to be used in native images that can be built by GraalVM EE: https://github.com/plokhotnyuk/jsoniter-scala/tree/master/jsoniter-scala-examples
