Skip to content

bpo-18795: Add cumpercall and totalpercall keys to pstats sort_stats - #31919

Open
DanielNoord wants to merge 1 commit into
python:mainfrom
DanielNoord:fix-issue-18795
Open

bpo-18795: Add cumpercall and totalpercall keys to pstats sort_stats#31919
DanielNoord wants to merge 1 commit into
python:mainfrom
DanielNoord:fix-issue-18795

Conversation

@DanielNoord

@DanielNoordDanielNoord commented Mar 15, 2022

Copy link
Copy Markdown
Contributor

This is mostly a resubmit of the patch already found at bpo-18795.

I also updated the documentation.

I tried to give credit to the main/co-author, but couldn't find their email address so was only able to include their full name.

Let me know if anything needs to be changed here 😄

https://bugs.python.org/issue18795

Closes#62995

@MaxwellDupreMaxwellDupre 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.

Ran 9 tests in 0.450s
OK
Looks ok.

@python-cla-bot

python-cla-botBot commented Apr 6, 2025

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@DanielNoord
DanielNoordforce-pushed the fix-issue-18795 branch 2 times, most recently from b672f5c to dfdabbfCompareFebruary 8, 2026 19:44
@DanielNoord

Copy link
Copy Markdown
ContributorAuthor

Hey @pablogsal.

Had to rebase this on #142373, which I thought was best as a force push as it changed so much of the original patch.

Considering PEP 799 you should probably on the "nosy list" of this module now, but you were never tagged on the original issue.
Is this something you'd consider merging? And if so is there anything I can do to help move this along? :)

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actionsgithub-actionsBot added the stale Stale PR or inactive for long period of time. label Apr 10, 2026
@DanielNoord

Copy link
Copy Markdown
ContributorAuthor

I don't know how to not make this stale. Nobody seems to be available to review it.

@github-actionsgithub-actionsBot removed the stale Stale PR or inactive for long period of time. label May 11, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pstats - allow stats sorting by cumulative time per call and total time per call

5 participants

@DanielNoord@MaxwellDupre@the-knights-who-say-ni@ezio-melotti@bedevere-bot