Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit b92ca3c

Browse files
Julian KahnertJulian Kahnert
authored andcommitted
add ios launch baseline
1 parent 1195f22 commit b92ca3c

File tree

3 files changed

+55
-1
lines changed

3 files changed

+55
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>classNames</key>
6+
<dict>
7+
<key>Tests_iOS</key>
8+
<dict>
9+
<key>testLaunchPerformance()</key>
10+
<dict>
11+
<key>com.apple.dt.XCTMetric_ApplicationLaunch-ApplicationFirstFramePresentationResponsive.duration</key>
12+
<dict>
13+
<key>baselineAverage</key>
14+
<real>2.0575</real>
15+
<key>baselineIntegrationDisplayName</key>
16+
<string>Local Baseline</string>
17+
</dict>
18+
</dict>
19+
</dict>
20+
</dict>
21+
</dict>
22+
</plist>

PDFArchiver.xcodeproj/xcshareddata/xcbaselines/3489D72A24A3C53E0035E64F.xcbaseline/Info.plist

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,37 @@
44
<dict>
55
<key>runDestinationsByUUID</key>
66
<dict>
7+
<key>7712990D-DD3E-4FB5-BF56-3FCD157BC908</key>
8+
<dict>
9+
<key>localComputer</key>
10+
<dict>
11+
<key>busSpeedInMHz</key>
12+
<integer>400</integer>
13+
<key>cpuCount</key>
14+
<integer>1</integer>
15+
<key>cpuKind</key>
16+
<string>6-Core Intel Core i7</string>
17+
<key>cpuSpeedInMHz</key>
18+
<integer>2600</integer>
19+
<key>logicalCPUCoresPerPackage</key>
20+
<integer>12</integer>
21+
<key>modelCode</key>
22+
<string>MacBookPro15,1</string>
23+
<key>physicalCPUCoresPerPackage</key>
24+
<integer>6</integer>
25+
<key>platformIdentifier</key>
26+
<string>com.apple.platform.macosx</string>
27+
</dict>
28+
<key>targetArchitecture</key>
29+
<string>x86_64</string>
30+
<key>targetDevice</key>
31+
<dict>
32+
<key>modelCode</key>
33+
<string>iPod9,1</string>
34+
<key>platformIdentifier</key>
35+
<string>com.apple.platform.iphonesimulator</string>
36+
</dict>
37+
</dict>
738
<key>D5EE0815-884F-4D05-A619-E6BF7D2978B9</key>
839
<dict>
940
<key>targetArchitecture</key>

Tests macOS/Tests_macOS.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ final class Tests_macOS: XCTestCase {
3434
// Use XCTAssert and related functions to verify your tests produce the correct results.
3535
}
3636

37+
@available(OSX 11.0, *)
3738
func testLaunchPerformance() throws {
3839
// This measures how long it takes to launch your application.
39-
measure(metrics: [XCTApplicationLaunchMetric()]) {
40+
measure(metrics: [XCTApplicationLaunchMetric(waitUntilResponsive: true)]) {
4041
XCUIApplication().launch()
4142
}
4243
}

0 commit comments

Comments
 (0)