XCTMetric
A protocol that defines the methods that objects must provide when gathering metrics during performance tests.
Declaration
protocol XCTMetric : NSCopying, NSObjectProtocolOverview
Objects that gather metrics during performance tests must conform to XCTMetric. Before you create your own conforming objects, first use the metrics classes that XCTest supplies.