Source code: Lib/profile.py and Lib/pstats.py Introduction to the profilers: cProfile and profile provide deterministic profiling of Python programs. A profile is a set of statistics that describes...| Python documentation
Rewriting library code to speed up my interpreter benchmark by 28%.| healeycodes.com