Log memory usage during performance testing