class Coach::RequestBenchmark

This class is built to aggregate data during the course of the request. It relies on ‘start_middleware.coach’ and ‘finish_middleware.coach’ events to register the start/end of each middleware element, and thereby calculate running times for each.

Coach::Notifications makes use of this class to produce benchmark data for requests.