This is another Ruby comparison benchmark, in the tradition of 2016, 2017 and 2020. This christmas Ruby 3.1.0 was released, featuring the brand-new YJIT just in time compiler. Pre-liminary benchmarks showed noticeable performance benefits for HexaPDF, so let’s see what the final version brings. The Benchmark Setup I will be using the same applications/libraries as last time (look there if you need
![Benchmarking Ruby 2.5 to 3.1](https://cdn-ak-scissors.b.st-hatena.com/image/square/bea5da77846ff8173547942731fe89f5245c9b23/height=288;version=1;width=512/https%3A%2F%2Fgettalong.org%2Fblog%2Ffeature-images%2Fspeed.jpg)