XCTAssertMemoryIdentifier
public enum XCTAssertMemoryIdentifier
extension XCTAssertMemoryIdentifier: XCTAssertMetricIdentifier
Identifies the type of memory usage you want to make assertion for in a performance test.
XCTMemoryMetric
compares the memory use before and after running the block argument to a
measure(metrics:block:)
, and reports the difference. To make assertion to these statistics
use any of the values of XCTAssertMemoryIdentifier
.
-
Declaration
Swift
case physical
-
Declaration
Swift
case physicalPeak
-
Declaration
Swift
public typealias RelatedMetric = XCTMemoryMetric
-
Declaration
Swift
public var identifier: String { get }