Contents

measure(options:block:)

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

Declaration

func measure(options: XCTMeasureOptions, block: () -> Void)

Parameters

  • options:

    Options to control the gathering of performance measurements.

  • block:

    A block whose performance is measured.

See Also

Measuring Performance