Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Searching for a good "CPU TIME" python profiler (not wall time)

18 views
Skip to first unread message

alonn

unread,
Nov 7, 2024, 12:22:40 PM11/7/24
to PyWeb-IL
That produces flamegraphs and allows annotating a specific function only (e.g not the whole django app) 
from what I saw, line profiler and cprofile measure wall time. e.g time from start of function to the end, and specifically here I need to find out the CPU killer (which isn't where the most time is spent)

I'd be glad for recommendations 

Miki Tebeka

unread,
Nov 11, 2024, 8:37:27 AM11/11/24
to pywe...@googlegroups.com
I need to find out the CPU killer (which isn't where the most time is spent)
I don't understand what is CPU killer. 

https://jiffyclub.github.io/snakeviz/ allows you to filter by function name.
And maybe py-spy will help?
Reply all
Reply to author
Forward
0 new messages