Does anyone know how to get execution time of function?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Does anyone know how to get execution time of function??

Means... if i want to check the execution time only for a loop or for a function... how can i do that??

2nd Aug 2017, 4:18 PM
Tanbin Siddiqui
Tanbin Siddiqui - avatar
2 Answers
2nd Aug 2017, 5:06 PM
jay
jay - avatar
+ 5
ooo, me too! [In testing, I found the hi-res timer is only good down to 1/64 of a second ... might be a server decision] https://code.sololearn.com/cRjbtysU5r3o/?ref=app
2nd Aug 2017, 7:54 PM
Kirk Schafer
Kirk Schafer - avatar