What problem does it solve? Apple's Instruments is GUI-only and xctrace is raw and hard to use, leaving no simple path from a compiled binary to actionable CPU hotspots, GPU utilization, or memory leak reports from the terminal. ## Core Features & Use Cases - CPU Profiling: Record Time Profiler traces with xtrace, then analyze flat summaries, timelines, call trees, and before/after diffs with trace-analyze.py. - GPU & Shader Analysis: Capture Metal System Trace recordings, inspect GPU state residency, command buffers, shader hotspots, and generate shader flamegraphs or speedscope views. - Memory Analysis: Detect leaks, track memory growth over time, and inspect heap allocations with trace-memory.py. - Use Case: A developer builds a Metal app, runs xtrace --gpu --shader-timeline ./my_app, and immediately gets GPU utilization summaries plus interactive shader stack exploration in speedscope. ## Quick Start Profile my application by running xtrace on the built binary and show me the top CPU hotspots and a flamegraph.