Web Applications

Why Ruby's JIT was slow
Takashi Kokubun • September 09, 2021 • online

English: https://youtu.be/db3GHHllRyQ

In Ruby 2.6, we started to use a JIT compiler architecture called "MJIT", which uses a C compiler to generate native code. While it achieved Ruby 3x3 in one benchmark, we had struggled to optimize web application workloads like Rails with MJIT. The good news is we recently figured out why.

In this talk, you will hear how JIT architectures impact various benchmarks differently, and why it matters for you. You may or may not benefit from Ruby's JIT, depending on what JIT architecture we'll choose beyond the current MJIT. Let's discuss which direction we'd like to go.

https://rubykaigi.org/2021-takeout/presentations/k0kubun.html

RubyKaigi 2021 Takeout

Explore all talks recorded at RubyKaigi 2021 Takeout
+28