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: Support arity=-2 cfuncs #10268

Merged
merged 2 commits into from Mar 18, 2024
Merged

YJIT: Support arity=-2 cfuncs #10268

merged 2 commits into from Mar 18, 2024

Conversation

XrXr
Copy link
Member

@XrXr XrXr commented Mar 15, 2024

This type of cfuncs shows up as consume a lot of cycles in profiles of
the lobsters benchmark, even though in the stats they don't happen that
frequently. Might be a bug in the profiling, but these calls are not
too bad to support, so might as well do it.

This type of cfuncs shows up as consume a lot of cycles in profiles of
the lobsters benchmark, even though in the stats they don't happen that
frequently. Might be a bug in the profiling, but these calls are not
too bad to support, so might as well do it.
@XrXr XrXr requested a review from a team as a code owner March 15, 2024 23:17
@maximecb
Copy link
Contributor

There was a CI failure related to the stack canary, updating branch and restarting CI 🤞

Thank you for diving into the profiles and tackling things like this. Will be awesome if we can speed up rails even more 🙏

@maximecb maximecb enabled auto-merge (squash) March 18, 2024 15:33
@maximecb maximecb merged commit 802e857 into master Mar 18, 2024
194 checks passed
@maximecb maximecb deleted the yjit-cfunc-minus2 branch March 18, 2024 16:02
artur-intech pushed a commit to artur-intech/ruby that referenced this pull request Apr 26, 2024
This type of cfuncs shows up as consume a lot of cycles in profiles of
the lobsters benchmark, even though in the stats they don't happen that
frequently. Might be a bug in the profiling, but these calls are not
too bad to support, so might as well do it.

Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants