Record the time consuming