profile_launch
Records and analyzes app launch performance to return total launch time, launch type (cold/warm/resume), phase breakdown, and severity against Apple's guidelines.
Instructions
Record and analyze app launch performance. Returns: Total launch time, launch type (cold/warm/resume), phase breakdown, severity against Apple's guidelines. IMPORTANT: Use launch_path to launch the app — attaching to a running process won't capture the launch. Pass trace_path to re-analyze an existing trace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| launch_path | No | Path to .app bundle to launch and profile (required unless using trace_path) | |
| device | No | Device name or UDID (omit for host Mac) | |
| duration | No | Recording duration | 30s |
| trace_path | No | Path to existing .trace file to re-analyze (skips recording) |