An easier way to use Python's cProfile(github.com) |
An easier way to use Python's cProfile(github.com) |
[1] http://www.vrplumber.com/programming/runsnakerun/ [2] http://kcachegrind.sourceforge.net/html/Home.html
[0] http://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html
https://github.com/andreasf/plop/tree/flamegraph_support
Here's an example: http://zentrale1.com/~an/nachher5.svg
* By default, the ITIMER signals used by the profiler interrupt syscalls. Disable that by adding the following in plop.Collector.__init__() after the call to signal.signal():
signal.siginterrupt(sig, False)
* Try all ITIMER modes, e.g. by changing the default in plop.Collector.__init__()