Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

estimate time to run a chunk of code in python

start = time.time()
for i in range(10000):
    True
end = time.time()
print ("Time elapsed:", end - start)
Source by www.adamsmith.haus #
 
PREVIOUS NEXT
Tagged: #estimate #time #run #chunk #code #python
ADD COMMENT
Topic
Name
2+8 =