The CPython standard distribution comes with three profilers: cProfile, Profile and hotshot. The cProfile module is implemented as a C module based on lsprof, Profile is in pure Python, and the hotshot can be seen as a small subset of a cProfile. Unlike any of these profilers, however, yappi fully supports profiling multi-threaded programs.
The CPython standard distribution comes with three profilers: cProfile, Profile and hotshot. The cProfile module is implemented as a C module based on lsprof, Profile is in pure Python, and the hotshot can be seen as a small subset of a cProfile. Unlike any of these profilers, however, yappi fully supports profiling multi-threaded programs.