Contents

defaultPerformanceMetrics

An array of default performance metrics the test records.

Declaration

class var defaultPerformanceMetrics: [XCTPerformanceMetric] { get }

Discussion

When you call measure(_:), the test uses this property to determine which performance metrics to record. The default is an array that contains wallClockTime. Subclasses of XCTestCase can override this method to change the behavior of measure(_:).

See Also

Related Documentation

Measuring Performance