Last edited on Sep 17, 2020
def main( argv ):
start_time = time.time()
# Do the operation, for example snoozing...
t = time.time() - start_time
test.log("Done after %.2f seconds." % t)
var start_time = new Date().getTime();
// Do the operation, for example snoozing...
var t = new Date().getTime() - start_time;
test.log("Done after " + (t/1000.0) + " seconds.")
We would love to improve this site! For this, we ask you for permission to use
a cookie (a piece of data stored in your web browser) which helps us understand
how the site is used.
Please refer to our Privacy
Policy in case you change your mind, or if you want to learn more about how
we take care of your privacy.