Skip to content

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

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

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

Conversation

@DanielNoord
Copy link
Contributor

@DanielNoord DanielNoord commented Mar 15, 2022

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

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.

Ran 9 tests in 0.450s
OK
Looks ok.

@python-cla-bot
Copy link

python-cla-bot bot commented Apr 6, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@DanielNoord DanielNoord force-pushed the fix-issue-18795 branch 2 times, most recently from b672f5c to dfdabbf Compare February 8, 2026 19:44
@DanielNoord
Copy link
Contributor Author

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? :)

Sign up for free to 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