How to measure execution time of a program

Fredrik Lundh fredrik at pythonware.com
Wed Jun 28 04:34:48 EDT 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.

</F> 






More information about the Python-list mailing list