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

# init(_:)

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(rawValue:)](xctest/xctperformancemetric/init(rawvalue:).md)
