Tag: javascript
-
Comparing Performance of GraalJS vs Nashorn
In previous posts, I have shown you how to execute Javascript in JVM using Nashorn & GraalJS. GraalJS performance variation across interpreted and compiled mode is also compared in the post here: Comparing performance of GraalJS interpreted vs compiled mode. With Nashon not part of Java from version 14 onwards and GraalJS availability, let’s now…
-
Comparing performance of GraalJS interpreted vs compiled mode
In the previous post, we saw how we can run Javascript using GraalVM and also how it can be optimized for more performance. Now, let’s see how those two modes – interpreted vs compiled – really perform when tested using a benchmark program. Benchmark program used for this test is simple implementation of “Sieve of…