because t = (time.time() - t) will return seconds, dividing by 1000 to obtain seconds will be incorrect.