On x86 hardware the Linux timer runs at 100 Hz by default. On modern hardware that is probably much too slow to accurately profile programs using the Python profiler. Changing the value in include/asm-i386/param.h from 100 to 1024 and recompiling the kernel made a huge difference for me. Perhaps we should include a note in the profiler documentation. I'm not sure if this affects gprof as well but I suspect it does. Neil
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4