Reporting and optimization

Set up performance measurement, reporting and optimization.