Class

XCTStorageMetric

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

Declaration

class XCTStorageMetric : NSObject

Overview

XCTStorageMetric records the amount of data logically written to the disk in the block argument to measure(metrics:block:). The logical size of data written is the number of bytes in all requests to write to the disk. The logical size can be different from the size of physically written data, based on how the file system organizes data, and the fact that the disk controller replaces content in fixed-size blocks.

Topics

Initializers

init()

Creates a metric for measuring disk use in a process.

init(application: XCUIApplication)

Creates a metric for measuring disk use in the requested 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 XCTMemoryMetric

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

class XCTOSSignpostMetric

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