Class

XCTMemoryMetric

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

Declaration

class XCTMemoryMetric : NSObject

Overview

XCTMemoryMetric compares the memory use before and after running the block argument to measure(metrics:block:), and reports the difference.

Topics

Initializers

init()

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

init(application: XCUIApplication)

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

Relationships

Inherits From

See Also

Measurement Metrics

protocol XCTMetric

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

class XCTCPUMetric

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

class XCTClockMetric

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

class XCTOSSignpostMetric

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

class XCTStorageMetric

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