How can you get the call tree with Python profilers?
I just stumbled on this as well, and spent some time learning how to generate a call graph (the normal results of cProfile is not terribly informative). Future reference, here’s another way to generate a beautiful call-tree graphic with cProfile + gprof2dot + graphViz. ——————— Install GraphViz: http://www.graphviz.org/Download_macos.php easy_install gprof2dot Run profile on the code. … Read more