---
title: XCTMeasureOptions
framework: xctest
role: symbol
role_heading: Class
path: xctest/xctmeasureoptions
---

# XCTMeasureOptions

Options to control the gathering of performance measurements during tests.

## Declaration

```swift
class XCTMeasureOptions
```

## Topics

### Getting Default Options

- [default](xctest/xctmeasureoptions/default.md)

### Using Option Details

- [invocationOptions](xctest/xctmeasureoptions/invocationoptions-swift.property.md)
- [XCTMeasureOptions.InvocationOptions](xctest/xctmeasureoptions/invocationoptions-swift.struct.md)
- [iterationCount](xctest/xctmeasureoptions/iterationcount.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
