Skip to content

GH-122821: Simplify compilation of while statements to ensure consistency of offsets for sys.monitoring #122934

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

Merged
merged 4 commits into from
Aug 13, 2024

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Aug 12, 2024

@markshannon
Copy link
Member Author

Performance on tier 1 maybe shows a slight (<1%) slowdown (it might be noise).
But that's a worst case, as tier2 should be unaffected (the extra instruction will be removed).

I'm not concerned by any possible tier 1 slowdown, as we are focusing our efforts on tier 2.

@python python deleted a comment from bedevere-bot Aug 12, 2024
@iritkatriel
Copy link
Member

iritkatriel commented Aug 12, 2024

It would be good to add a test in test_monitoring about the branch location issue.

Copy link
Member

@picnixz picnixz left a comment

Choose a reason for hiding this comment

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

A minor nitpick.

…e-122821.WnAzTK.rst

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
@markshannon markshannon merged commit fe23f8e into python:main Aug 13, 2024
37 checks passed
@picnixz
Copy link
Member

picnixz commented Aug 13, 2024

@markshannon Wouldn't this need to be backported to 3.13 as well? (or maybe you are creating the backport manually?)

blhsing pushed a commit to blhsing/cpython that referenced this pull request Aug 22, 2024
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