---
title: "init(rawValue:)"
framework: xctest
role: symbol
role_heading: Initializer
path: "xctest/xctperformancemetric/init(rawvalue:)"
---

# init(rawValue:)

Creates a new instance with the specified raw value.

## Declaration

```swift
init(rawValue: String)
```

## Parameters

- `rawValue`: The raw value that represents the performance metric.

## See Also

### Initializing an Item

- [init(_:)](xctest/xctperformancemetric/init(_:).md)
