Class

XCTMemoryMetric

A metric the test uses to measure the physical memory used in a performance test.

Declaration

@interface XCTMemoryMetric : NSObject

Overview

XCTMemoryMetric compares the memory use before and after running the block argument to measureWithMetrics:block:, and reports the difference.

Topics

Initializers

- init

Initializes a metric that measures memory use in the current process.

- initWithApplication:

Initializes a metric that measures memory use in the target app.

Relationships

Inherits From

Conforms To

See Also

Measurement Metrics

XCTMetric

A protocol that defines the methods that objects gathering metrics during performance tests must provide.

XCTCPUMetric

A metric the test uses to record information about CPU activity during a performance test.

XCTClockMetric

A metric the test uses to measure the time elapsed in a performance test.

XCTOSSignpostMetric

A metric the test uses to record the time it spends executing a signposted region of code.

XCTStorageMetric

A metric the test uses to record the amount of data logically written to storage during a performance test.