Skip to content
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. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YJIT: Add stats option to RubyVM::YJIT.enable #9297

Merged
merged 1 commit into from Dec 19, 2023

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Dec 19, 2023

RubyVM::YJIT.enable is useful not only for lazily enabling YJIT but also for enabling YJIT in a subset of workers in a server.

Similarly to that, I want to enable YJIT stats only in part of workers so that I can monitor ratio_in_yjit, which is useful especially when the volume of traffic is very low and you use only one server. This could be also useful when you don't want to set up multiple clusters with different Ruby commands for that purpose.

@k0kubun k0kubun merged commit bd91c51 into ruby:master Dec 19, 2023
97 checks passed
@k0kubun k0kubun deleted the yjit-stats branch December 19, 2023 19:47
@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
2 participants