Skip to content

Annotate some commonly used methods as leaf #9697

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

Closed
wants to merge 2 commits into from

Conversation

k0kubun
Copy link
Member

@k0kubun k0kubun commented Jan 25, 2024

This PR adds :leaf annotation to methods that appear in --yjit-stats's "Top-20 most frequent C calls" on yjit-bench.

It doesn't have a significant impact on those benchmarks, but I think it's nice to remove them from the TODO list to optimize the frame push overhead.

@k0kubun
Copy link
Member Author

k0kubun commented Jan 25, 2024

More methods hit the problem on CI than I thought, so closing this PR for now. will revisit this later.

@k0kubun k0kubun closed this Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants