Class

XCTPerformanceMeasurement

A measurement from a single iteration of the metric, recorded as part of a performance test.

Declaration

class XCTPerformanceMeasurement : NSObject

Topics

Initializers

init(identifier: String, displayName: String, doubleValue: Double, unitSymbol: String)

Initializes a performance measurement for a single iteration with the given value and unit of measurement.

init(identifier: String, displayName: String, value: Measurement<Unit>)

Initializes a performance measurement for a single iteration with the given value.

Identifying Measurements

var displayName: String

A human-readable name for a measurement.

var identifier: String

A unique identifier for a measurement.

Accessing Measured Values

var doubleValue: Double

The measured value.

var unitSymbol: String

A string that repesents the unit of measurement.

var value: Measurement<Unit>

The measured value, including the unit of measure.

Relationships

Inherits From

Conforms To

See Also

Measurements

class XCTPerformanceMeasurementTimestamp

A point in time that captures the starting or ending point of a performance test iteration.