[Tutor] Timing a python program
alan.gauld at btinternet.com
Fri Jan 16 09:52:42 CET 2015
On 16/01/15 05:02, CL Talk wrote:
> I am trying to see how I can time the whole program as well as various
> functions that are part of the program.
That's called profiling and there is a Python profiler.
Here's the official doc page
And here's the 'module of the week' description of using it:
You might also find the timeit module handy.
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:
More information about the Tutor