---
title: wallClockTime
framework: xctest
role: symbol
role_heading: Type Property
path: xctest/xctperformancemetric/wallclocktime
---

# wallClockTime

A performance metric that records the time in seconds to execute a block of code.

## Declaration

```swift
static let wallClockTime: XCTPerformanceMetric
```
