Class

XCTOSSignpostMetric

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

Declaration

class XCTOSSignpostMetric : NSObject

Overview

This metric captures the time elapsed between the begin and end events for a specific named os_signpost(_:dso:log:name:signpostID:) region. It doesn’t record any results when there isn't a matching pair of begin and end events.

Topics

Measuring Specific Signposts

init(subsystem: String, category: String, name: String)

Creates a metric to measure a specific named signpost.

class var applicationLaunch: XCTOSSignpostMetric

A metric that measures the time elapsed during app launch.

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 XCTStorageMetric

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