8000 Improve YJIT documentation for Ruby 3.3 by k0kubun · Pull Request #9263 · ruby/ruby · GitHub
[go: up one dir, main page]

Skip to content

Improve YJIT documentation for Ruby 3.3 #9263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement< 8000 /a>. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

k0kubun
Copy link
Member
@k0kubun k0kubun commented Dec 16, 2023

Following up #9068, this PR improves YJIT documentation for Ruby 3.3. Now that we moved documentation for Ruby 3.2 to ruby_3_2 #9245, we don't need to mention Ruby 3.2.

  • Documented the current behavior of --yjit-call-threshold since it was not explained anywhere.
  • Dropped --yjit-code-gc from "Performance Tips" since we don't really recommend it anymore (hence disabled by default). I moved the documentation to the place explaining --yjit-code-gc option instead.
  • Added a tip about ratio_in_yjit for tuning --yjit-exec-mem-size, which became more accessible in Ruby 3.3.
  • Dropped the "Increasing --yjit-call-threshold" section since it's much less relevant with the presence of --yjit-cold-threshold and two-step --yjit-call-threshold.
  • Instead, I added the "Enabling YJIT lazily" section. In teams of skipping application boot code, this is a better approach than increasing --yjit-call-threshold.

@k0kubun k0kubun marked this pull request as ready for review December 16, 2023 05:17
@matzbot matzbot requested a review from a team December 16, 2023 05:17
@maximecb maximecb merged commit d897844 into ruby:master Dec 18, 2023
@k0kubun k0kubun deleted the yjit-doc branch December 18, 2023 04:51
@nurse nurse mentioned this pull request Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0