Basecamp code runs 18 percents faster with YJIT
01-Dec-2023 806
Basecamp is currently running Ruby 3.3.0-preview3 and Rails Edge (master branch).We configure YJIT in our servers via RUBYOPT=--yjit-disable --yjit-exec-mem-size=192 and then enable YJIT at runtime via RubyVM::YJIT.enable. This allows us to achieve a faster boot time, compared to enabling YJIT at boot. We also enabled yjit stats to a few servers.We track our metrics in Prometheus, using Yabeda to instrument, and Grafana to render them.
Basecamp code runs 18 percents faster with YJIT #ruby #rubydeveloper #rubyonrails #Basecamp #percents #faster #code https://rubyonrails.ba/link/basecamp-code-runs-18-percents-faster-with-yjit