Add logging of the performance