Actions
Feature #18349
closedLet --jit enable YJIT on supported platforms
Feature #18349:
Let --jit enable YJIT on supported platforms
Status:
Closed
Assignee:
-
Target version:
-
Description
Proposal¶
- Rename the current
--jitto--mjit, as well as reverting [Feature #17490] - Let
--jitmean--yjiton YJIT-supported platforms, and--mjiton other platforms.
Use case¶
YJIT currently achieves better performance than MJIT in many benchmarks, which means users should choose YJIT over MJIT with Ruby 3.1 in many cases. Even in benchmarks where MJIT could perform well, you need to spend a lot of time to finish warmup and tune MJIT carefully to see the peak performance.
However, it's hard for many people, not including heavy users like you reading this, to understand which JIT variant they should try and/or use MJIT properly. Assuming x86 is prevalent enough, I want to make YJIT the default JIT so that non-heavy users will be able to see the benefit of JIT earlier.
Actions