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

GH-115802: Use the GHC calling convention in JIT code #118287

Merged
merged 11 commits into from
May 1, 2024

Conversation

brandtbucher
Copy link
Member

@brandtbucher brandtbucher commented Apr 25, 2024

Looks like a 2-3% improvement overall. This is actually a pretty big win, since we're currently only spending 8-10% of our time in the JIT.

Gains on 32-bit Windows should be even better, since we can pass all continuation parameters in registers now.

@brandtbucher brandtbucher self-assigned this Apr 25, 2024
@bedevere-app bedevere-app bot mentioned this pull request Apr 25, 2024
13 tasks
@brandtbucher brandtbucher added performance Performance or resource usage skip news interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Apr 25, 2024
@brandtbucher brandtbucher marked this pull request as ready for review April 25, 2024 16:04
Python/jit.c Outdated Show resolved Hide resolved
Python/jit.c Show resolved Hide resolved
Python/jit.c Outdated Show resolved Hide resolved
@brandtbucher brandtbucher merged commit 49baa65 into python:main May 1, 2024
59 of 60 checks passed
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage skip news topic-JIT
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants