Closed tagliala closed 15 hours ago
It's yjit
Rails.application.config.yjit = true
It's a combination of Apple Silicon + x64 Ruby
After several tests, I came to the conclusion that it is a combination of Apple Silicon (?) + x64 Ruby + YJIT
With ARM Ruby + YJIT the difference is negligible, but x64 Ruby + YJIT is slower by several orders of magnitude
This does not seem to affect CI
Apparently this also affects Intel Macs, there could be an issue with macOS + Ruby x64 + YJIT
I've tried to upgrade rust
, but there is no difference
In the end, to fix this issue on my machine, I've reinstalled Ruby x64 without YJIT
rvm reinstall ruby-3.3.6 --with-opt-dir="$(brew --prefix openssl)" --with-libyaml --disable-yjit
Not sure this is a rabl problem
7.1 defaults
7.2 defaults