Log the time it takes