How to measure execution time of a program

Fredrik Lundh fredrik at
Wed Jun 28 10:34:48 CEST 2006

Pete Forman wrote:

> >     t0 = time.time()
> You can get better resolution by using time.clock() instead of
> time.time().

depends on the platform, and whether you want wall time or process time.


More information about the Python-list mailing list