from timeit import default_timer as timer
import hashlib
import time

start = timer()
time.sleep(2)
end = timer()
print(end - start) # Time in seconds, e.g. 5.38091952400282
0a87402106b367758d1e3c724c842365dcb6ab14
<mask token>

<mask token>
time.sleep(2)
<mask token>
print(end - start)

<mask token>
start = timer()
time.sleep(2)
end = timer()
print(end - start)

from timeit import default_timer as timer
import hashlib
import time
start = timer()
time.sleep(2)
end = timer()
print(end - start)

from timeit import default_timer as timer
import hashlib
import time

start = timer()
time.sleep(2)
end = timer()
print(end - start) # Time in seconds, e.g. 5.38091952400282