Yet Another Python Profiler, but this time support Multithread/CPU time profiling Can be installed via easy_install yappi , pip install yappi or from the source directly. Please see API reference manual. For how to use the profiler and how to interpret statistics output, see usage reference manual.