FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-34861: Make cumtime the default sorting key for cProfile by DanielNoord · Pull Request #31929 · python/cpython · GitHub

/ cpython Public

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

Merged
pablogsal merged 1 commit into
python:mainfrom
DanielNoord:fix-issue-34861
Mar 30, 2022
Merged

bpo-34861: Make cumtime the default sorting key for cProfile#31929
pablogsal merged 1 commit into
python:mainfrom
DanielNoord:fix-issue-34861

Conversation

DanielNoord commented Mar 16, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

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?= <anders.hovmoller@trioptima.com>

MaxwellDupre left a comment

Copy link
Copy Markdown
Contributor

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

Looks ok.

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

5 participants


Back | FazBrowse Home | New Git URL