Benchmarking Ruby 3 in PDF generation

Ruby 3 JIT was optimized against CPU-intensive demo, which left Rails enthusiasts left out. But what about tasks in the middle of both? Here’s my latest benchmark on Ruby 3 JIT in generating PDF files with Prawn.A little over a year ago, I created a PDF generation benchmark to help Takashi optimize the upcoming Ruby 3 JIT. I blogged about how to make such a benchmark, and my results for Ruby 2.5, 2.6, and 2.6 –jit.The JIT wasn’t very successful for this task, but it was very early. So, what about now, that Ruby 3 is out?My numbers are again for generating a PDF invoice with InvoicePrinter, this time for version 2.1 that supports Ruby 3.
Benchmarking Ruby 3 in PDF generation #ruby #rubydeveloper #rubyonrails #benchmarking https://rubyonrails.ba/single/benchmarking-ruby-3-in-pdf-generation

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles