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

Add counters to measure branch_stub_hit instances on old ISEQs #532

Merged

Conversation

maximecb
Copy link

Adding some counters so we can measure and graph how often we hit branch stubs from old ISEQs on Core and SFR

@k0kubun
Copy link
Member

k0kubun commented Sep 12, 2023

You probably want to put these counters into DEFAULT_COUNTERS to obviate --yjit-stats. This branch has that constant already.

@maximecb
Copy link
Author

Are all the CI failures normal on this branch... ? I uh, should I go ahead and merge anyway? 😅

@casperisfine
Copy link

Are all the CI failures normal on this branch... ? I uh, should I go ahead and merge anyway? 😅

That seem to be my fault:

TestRubyOptions#test_crash_report_path_executable_path

That's the backport of https://bugs.ruby-lang.org/issues/19790, tests were passing on my machine but would clearly need some stabilization on CI. But not a huge deal, if it passes the monolith CI, it's safe enough.

@maximecb maximecb merged commit 3b9476f into v3.2.2-pshopify15-experimental1 Sep 13, 2023
123 of 167 checks passed
@maximecb maximecb deleted the yjit_exp_branch_stub_hit_old branch September 13, 2023 15:44
k0kubun pushed a commit that referenced this pull request Sep 13, 2023
* Add counters to measure branch_stub_hit instances on old ISEQs

* Add new counters to DEFAULT_COUNTERS
casperisfine pushed a commit that referenced this pull request Sep 20, 2023
* Add counters to measure branch_stub_hit instances on old ISEQs

* Add new counters to DEFAULT_COUNTERS
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.

3 participants