4 ms·
This thread changed my life.
by ehvatum 12y ago
This thread changed my life.
- andor 12y agoFew more tips for successful Python profiling: * 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__()