mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
.
This commit is contained in:
parent
329f36e521
commit
ea9b3c1ecb
@ -0,0 +1,11 @@
|
||||
import XCTest
|
||||
|
||||
final class BenchmarkTests: XCTestCase {
|
||||
|
||||
@MainActor
|
||||
func testLaunchPerformance() throws {
|
||||
measure(metrics: [XCTApplicationLaunchMetric()]) {
|
||||
XCUIApplication().launch()
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Scheme
|
||||
LastUpgradeVersion = "1630"
|
||||
version = "1.7">
|
||||
<BuildAction
|
||||
parallelizeBuildables = "YES"
|
||||
buildImplicitDependencies = "YES"
|
||||
buildArchitectures = "Automatic">
|
||||
<BuildActionEntries>
|
||||
<BuildActionEntry
|
||||
buildForTesting = "YES"
|
||||
buildForRunning = "YES"
|
||||
buildForProfiling = "YES"
|
||||
buildForArchiving = "YES"
|
||||
buildForAnalyzing = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F241F5012D08EE8800C053B5"
|
||||
BuildableName = "hello_world_swiftui.app"
|
||||
BlueprintName = "hello_world_swiftui"
|
||||
ReferencedContainer = "container:hello_world_swiftui.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildActionEntry>
|
||||
</BuildActionEntries>
|
||||
</BuildAction>
|
||||
<TestAction
|
||||
buildConfiguration = "Release"
|
||||
selectedDebuggerIdentifier = ""
|
||||
selectedLauncherIdentifier = "Xcode.IDEFoundation.Launcher.PosixSpawn"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
shouldAutocreateTestPlan = "YES">
|
||||
<Testables>
|
||||
<TestableReference
|
||||
skipped = "NO"
|
||||
parallelizable = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F241F5112D08EE8900C053B5"
|
||||
BuildableName = "hello_world_swiftuiTests.xctest"
|
||||
BlueprintName = "hello_world_swiftuiTests"
|
||||
ReferencedContainer = "container:hello_world_swiftui.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO"
|
||||
parallelizable = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F241F51B2D08EE8900C053B5"
|
||||
BuildableName = "hello_world_swiftuiUITests.xctest"
|
||||
BlueprintName = "hello_world_swiftuiUITests"
|
||||
ReferencedContainer = "container:hello_world_swiftui.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
<TestableReference
|
||||
skipped = "NO"
|
||||
parallelizable = "YES">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F22C4E6C2DB80B3F0070527F"
|
||||
BuildableName = "BenchmarkTests.xctest"
|
||||
BlueprintName = "BenchmarkTests"
|
||||
ReferencedContainer = "container:hello_world_swiftui.xcodeproj">
|
||||
</BuildableReference>
|
||||
</TestableReference>
|
||||
</Testables>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
launchStyle = "0"
|
||||
useCustomWorkingDirectory = "NO"
|
||||
ignoresPersistentStateOnLaunch = "NO"
|
||||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F241F5012D08EE8800C053B5"
|
||||
BuildableName = "hello_world_swiftui.app"
|
||||
BlueprintName = "hello_world_swiftui"
|
||||
ReferencedContainer = "container:hello_world_swiftui.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</LaunchAction>
|
||||
<ProfileAction
|
||||
buildConfiguration = "Debug"
|
||||
shouldUseLaunchSchemeArgsEnv = "YES"
|
||||
savedToolIdentifier = ""
|
||||
useCustomWorkingDirectory = "NO"
|
||||
debugDocumentVersioning = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "F241F5012D08EE8800C053B5"
|
||||
BuildableName = "hello_world_swiftui.app"
|
||||
BlueprintName = "hello_world_swiftui"
|
||||
ReferencedContainer = "container:hello_world_swiftui.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</ProfileAction>
|
||||
<AnalyzeAction
|
||||
buildConfiguration = "Debug">
|
||||
</AnalyzeAction>
|
||||
<ArchiveAction
|
||||
buildConfiguration = "Debug"
|
||||
revealArchiveInOrganizer = "YES"
|
||||
allowsArchivingForSimulator = "YES">
|
||||
</ArchiveAction>
|
||||
</Scheme>
|
||||
Loading…
x
Reference in New Issue
Block a user