Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Better breakdown of Python profiling

Is there some sort of tool that can give me a more visual representation of the output from Python's profile/cProfile tools (or any other profiling module)? It works well with simple scripts, but I'm using a couple libraries so I get several pages of little library calls that are basically noise (<1 ms time used) when trying to figure out what's the actual time sink.

like image 307
Nick T Avatar asked Apr 27 '26 23:04

Nick T


1 Answers

Yes, RunSnakeRun is a popular choice.

Here's a PyCon Canada talk about profiling, which mentions RunSnakeRun among others: https://www.youtube.com/watch?v=SUf-ALvk3cU

like image 170
Bartek Avatar answered Apr 29 '26 14:04

Bartek