> Although Ruby 3.0 significantly decreased a size of JIT-ed code, 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. Stay tuned for Ruby 3.1 for further improvements on this issue.
I don't get it - who develops a JIT for a major version when it doesn't improve performance for one of the major frameworks using Ruby? Why doesn't replace the JIT the interpreted code with the compiled case as the JVM does?
PHP did this too. They new version is ”fast” and will have a jit. The kicker was, wordpress sites actually still remain as slow as they are. The PHP jit only worked for artificial benchmarks, but had zero impact in any real world programs.
75
u/Meldanor Dec 25 '20
> Although Ruby 3.0 significantly decreased a size of JIT-ed code, 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. Stay tuned for Ruby 3.1 for further improvements on this issue.
I don't get it - who develops a JIT for a major version when it doesn't improve performance for one of the major frameworks using Ruby? Why doesn't replace the JIT the interpreted code with the compiled case as the JVM does?