timedelta microseconds is just the microseconds part of the timedelta object not the elapsed time in microseconds. I've change to use the total_seconds method to get all the elapsed time in seconds and transform to miliseconds.