Benchmarking Ruby 3 in PDF generation
29-Apr-2021 1202
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 #generation #benchmarking https://rubyonrails.ba/link/benchmarking-ruby-3-in-pdf-generation