|
|
|
|
|
by jbaiter
4106 days ago
|
|
I found that writing cProfile's profiling data to a file and analysing that with either RunSnakeRun's[1] or KCacheGrind's[2] GUI gave me much more insight than just the tabular display from cProfile.
It gives you a really good visual overview of where your code spends its time and has a really good interface for drilling down into subroutines to pinpoint the exact location of the slow code. [1] http://www.vrplumber.com/programming/runsnakerun/
[2] http://kcachegrind.sourceforge.net/html/Home.html |
|
[0] http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html