---
title: duration
framework: network
role: symbol
role_heading: Instance Property
path: network/nwconnection/establishmentreport/resolution/duration
---

# duration

The duration of this resolution step, from when the query was issued to when the response was complete.

## Declaration

```swift
let duration: TimeInterval
```

## See Also

### Measuring Performance

- [source](network/nwconnection/establishmentreport/resolution/source-swift.property.md)
- [NWConnection.EstablishmentReport.Resolution.Source](network/nwconnection/establishmentreport/resolution/source-swift.enum.md)
- [dnsProtocol](network/nwconnection/establishmentreport/resolution/dnsprotocol-swift.property.md)
- [NWConnection.EstablishmentReport.Resolution.DNSProtocol](network/nwconnection/establishmentreport/resolution/dnsprotocol-swift.enum.md)
