trace_app
Capture a performance trace of an application using xctrace to diagnose performance issues. Specify the app path, then optional duration, template, output, and start suspended settings.
Instructions
Captures a performance trace of an application using xctrace
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appPath | Yes | Path to the application to trace | |
| duration | No | Duration of the trace in seconds (default: 10) | |
| template | No | Trace template to use (default: 'Time Profiler') | |
| outputPath | No | Path where to save the trace file (default: app_trace.trace in active directory) | |
| startSuspended | No | Start the application in a suspended state |