← 返回首页
[3.11] GH-93516: Backport GH-93769 by markshannon · Pull Request #94231 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

[3.11] GH-93516: Backport GH-93769#94231

Merged
markshannon merged 6 commits into
python:3.11from
faster-cpython:backport-93769
Jun 28, 2022
Merged

[3.11] GH-93516: Backport GH-93769#94231
markshannon merged 6 commits into
python:3.11from
faster-cpython:backport-93769

Conversation

markshannon commented Jun 24, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Reduces the overhead of dispatching in DO_TRACING considerably.

My informal measures on the test program in #93516 (comment) show that this reduces execution time by about 10%

@pablogsal Should I regenerate the ABI for this PR?

arhadthedev commented Jun 24, 2022
edited
Loading

Copy link
Copy Markdown
Member

Probably the issue should be renamed to ... Backport GH-93769 for a clickable number in https://github.com/python/cpython/commits/main (though, it's just a nitpick).

markshannon changed the title [3.11] GH-93516: Backport 93769 [3.11] GH-93516: Backport GH-93769 Jun 24, 2022

Copy link
Copy Markdown
Member Author

@pablogsal I'd like to get this merged, as it will be needed for the backport of #94371

Comment thread Tools/scripts/deepfreeze.py Show resolved Hide resolved

pablogsal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

Looks good to me 👍

pablogsal commented Jun 28, 2022
edited
Loading

Copy link
Copy Markdown
Member

@pablogsal Should I regenerate the ABI for this PR?

I can try to do it for you. Otherwise you can follow these instructions:

@pablogsal Should I regenerate the ABI for this PR?

Copy link
Copy Markdown
Member

I cannot push to the PR, but you can copy this commit into yours if you want:

pablogsal@8380dd0

Copy link
Copy Markdown
Member Author

Hmm, I followed the instructions, yet a0ced71 is clearly different to pablogsal@8380dd0

Copy link
Copy Markdown
Member Author

I see, it is because of the assert changing the line numbers.
Why does an application binary interface include line numbers?

Copy link
Copy Markdown
Member

Why does an application binary interface include line numbers?

Those are not taken into account when checking it. They just come from the DWARF if I am not mistaken

pablogsal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

LGTM !

markshannon merged commit 3b4f5ed into python:3.11 Jun 28, 2022
markshannon deleted the backport-93769 branch September 26, 2023 12:49
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.