Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bpo-34861: Make cumtime the default sorting key for cProfile #31929

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 1 commit into from
Mar 30, 2022

Conversation

DanielNoord
Copy link
Contributor

@DanielNoord DanielNoord commented Mar 16, 2022

Note: This does not fully resolve bpo-34861, but only tackles one of the two issues identified.

This is a resubmit of #9655 and some of the changes that were discussed there.

@pablogsal I'm tagging you since you basically asked for the PR to be split and said that this change looked good. Sorry if the ping is uncalled for.

I have also updated the documentation to better reflect what a new call to cProfile.run('re.compile("foo|bar")') would look like. This also shows that we no longer sort on standard name.

https://bugs.python.org/issue34861

Co-authored-by: =?UTF-8?q?Anders=20Hovm=C3=B6ller?= <[email protected]>
Copy link
Contributor

@MaxwellDupre MaxwellDupre left a comment

Choose a reason for hiding this comment

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

Looks ok.

@pablogsal pablogsal merged commit 75eee1d into python:main Mar 30, 2022
@DanielNoord DanielNoord deleted the fix-issue-34861 branch March 30, 2022 11:10
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.

5 participants