Hello all,
I want to calculate the execution time of a program. Say I have a function
like below:
def RepAdd(i):
j = 0
while(j<i):
j += 1
return j
now I want to calculate the execution time of the function RepAdd when say
10 is passed as an argument. I did come across the module timeit, if that is
the module to be used can any one illustrate it using the above program as
input.
Thanks
Vin
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor