Ruby 3 JIT can make Rails faster. I’ve wondered Why Rails becomes slow

As I wrote in Ruby 3.0.0 Release Note and my previous post, we thought:it is still not ready for optimizing workloads like Rails, which often spend time on so many methods and therefore suffer from i-cache misses exacerbated by JIT.We thought Ruby 3’s JIT a.k.a. MJIT Does Not Improve Rails Performance and Rails Ruby Bench gets slower, not faster. That’s what I observed last year too.Because of that and to support environments without compilers, Matz is thinking about introducing JIT that does not invoke compilers, MIR or YJIT.
Ruby 3 JIT can make Rails faster. I’ve wondered Why Rails becomes slow #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/ruby-3-jit-can-make-rails-faster-i-ve-wondered-why-rails-becomes-slow

Nezir Zahirovic

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

related articles