PyMOTW: profile, cProfile, pstats
Originally posted
· 1 min read
The profile
and cProfile
modules provide APIs for collecting and analyzing statistics about how Python source consumes processor resources.
The profile
and cProfile
modules provide APIs for collecting and analyzing statistics about how Python source consumes processor resources.