Instance Method

startMeasuring

Starts the measurement of performance metrics within a block of code.

Declaration

- (void)startMeasuring;

Discussion

Call this method to start the measurement of metrics by the measureMetrics:automaticallyStartMeasuring:forBlock: method. Measurement will start immediately after this method is called from within the measured block.

See Also

Measuring Performance

- measureBlock:

Measures the performance of a block of code.

- measureMetrics:automaticallyStartMeasuring:forBlock:

Measures the performance of a block of code, optionally deferring the starting point for measurement.

- measureWithMetrics:block:

Measures the selected metrics for a block of code.

- measureWithMetrics:options:block:

Measures the selected metrics, using the specified measurement options, for a block of code.

- measureWithOptions:block:

Measures the performance, using the specified measurement options, for a block of code.

- stopMeasuring

Ends the measurement of performance metrics within a block of code.

defaultPerformanceMetrics

Identifies the performance metrics measured when measureBlock: is invoked.

defaultMetrics

An array of default metrics measured when measureBlock: is invoked.

defaultMeasureOptions

The default measurement options used when measureBlock: is invoked.

XCTPerformanceMetric

Performance metrics that can be measured by XCTest.