`time.clock` will be removed in python 3.8, so this migration needs to be done.
time.clockwill be removed in python 3.8, so this migration needs to be done.