3 ms·
Ruby YJIT is slower by multiple orders of magnitude if we look at more than a single constructed example. In addition, the blog post measures the cost of avoid
by neonsunset 2y ago
Ruby YJIT is slower by multiple orders of magnitude if we look at more than a single constructed example.
In addition, the blog post measures the cost of avoiding doing the interop, which allows wins as the compiler improves in the case of short-lived calls implemented in a native component.
This, however, is not exclusive to Ruby and statically typed JIT or AOT compiled languages benefit from this to a much higher extent.
https://benchmarksgame-team.pages.debian.net/benchmarksgame/box-plot-summary-charts.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...