profile and pstats — Performance Analysis — PyMOTW 3

The profile module provides APIs for collecting and analyzing statistics about how Python source consumes processor resources.

Read more…

This post is part of the Python Module of the Week series for Python 3. See PyMOTW.com for more articles from the series.