Added response time measurement to controller.