[Tutor] performance loss -- profiling

Tim Golden mail at timgolden.me.uk
Tue May 19 13:00:44 CEST 2009


Kent Johnson wrote:
> The Python profiler is not hard to run. Interpreting the results is
> more difficult :-) See the docs to get started:
> http://docs.python.org/library/profile.html

Also, it's quite useful to run it as a module:

  python -mcProfile <myfile.py>

You have a certain amount of configurability via
the -s param.

TJG


More information about the Tutor mailing list