<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 7.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "XCTest",
  "identifier" : "/documentation/XCTest/XCTApplicationLaunchMetric",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "XCTest"
    ],
    "preciseIdentifier" : "c:objc(cs)XCTApplicationLaunchMetric"
  },
  "title" : "XCTApplicationLaunchMetric"
}
-->

# XCTApplicationLaunchMetric

A metric to record the application launch duration for a performance test.

```
class XCTApplicationLaunchMetric
```

## Topics

### Initializers

[`init()`](/documentation/XCTest/XCTApplicationLaunchMetric/init())

Initializes a metric that records the time for an app to display its first frame to screen and complete all extended launch tasks.

[`init(waitUntilResponsive:)`](/documentation/XCTest/XCTApplicationLaunchMetric/init(waitUntilResponsive:))

Initializes a metric that records the time for an app to display its first frame to screen and complete all extended launch tasks, or to display its first frame and wait until the app is responsive.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)