How could i get execution times ?
Kragen Sitaker
kragen at pobox.com
Sat Jun 8 18:33:08 EDT 2002
"Shagshag13" <shagshag13 at yahoo.fr> writes:
> I'm looking for a way to get execution time at different points of a program, by now i use the
> code below, but i've seen in some post that time.clock() could be a better way to measure this,
>
> So my question, is how you pythoners do it ??? and to understand _why_ ?
time.time() gives wallclock time; time.clock() gives CPU time.
More information about the Python-list
mailing list