add performance monitoring