Measuring and improving infrastructure performance