Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

check runtime python

import timeit

code = """[4, 2, 3, 1, 5].sort()"""

execution_time = timeit.timeit(code, number=1)

print(execution_time)
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #check #runtime #python
ADD COMMENT
Topic
Name
5+9 =