0

The methods is so complicated.
I want to check the execution time of each statement
so that I can modify that part in order to increase speed.


Thanks in advance,

Raymond

4
Contributors
6
Replies
7
Views
7 Years
Discussion Span
Last Post by hondros
0

Well, you could just do this as well:

import time
timevar1 = time.time()
# YOUR CODE GOES HERE
timevar2 = time.time()
print(timevar2-timevar1)

That will determine how many seconds it takes for your script to execute

0

The #5 method is quite easy to use, thanks

I do not have the time to try the above method, sorry, and Thanks to all of you!

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.