Skip to content

Recognize new name of Graal-based Python as jitted#139

Merged
corona10 merged 1 commit intopsf:mainfrom
timfel:patch-1
Aug 25, 2022
Merged

Recognize new name of Graal-based Python as jitted#139
corona10 merged 1 commit intopsf:mainfrom
timfel:patch-1

Conversation

@timfel
Copy link
Copy Markdown
Contributor

@timfel timfel commented Aug 25, 2022

sys.implementation.name was changed in recent Graal nightlies.

`sys.implementation.name` was changed in recent Graal nightlies.
Copy link
Copy Markdown
Member

@corona10 corona10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@corona10 corona10 merged commit 0ef21a1 into psf:main Aug 25, 2022
@timfel timfel deleted the patch-1 branch August 25, 2022 18:22
@timfel
Copy link
Copy Markdown
Contributor Author

timfel commented Aug 25, 2022

thank you!

@vstinner
Copy link
Copy Markdown
Member

Defining if a Python implementation has a JIT or not became complicated. CPython 3.10 has an "opcode cache". CPython 3.11 now has "adaptative bytecode" which changes the bytecode after a few iterations.

It might help to implement a changepoint detection to decide if a benchmark looks steady or not.

My notes: https://vstinner.readthedocs.io/pypy_warmups.html

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.

4 participants