What problem does it solve? Slow endpoints, growing memory usage, and unexplained CPU spikes are hard to fix without evidence. This Skill enforces a baseline-first profiling workflow so every optimization is backed by before/after measurements instead of guesswork. ## Core Features & Use Cases - Evidence-Based Optimization: Requires a recorded baseline and p50/p95/p99 before/after comparison before any optimization is merged. - Hot Path Identification: Guides profiling with language-native tools, flame graphs, eBPF continuous profiling (Pyroscope), and trace correlation via trace_id. - AI Inference Profiling: Covers GPU metrics (VRAM, KV cache, TTFT), batch fill efficiency, embedding cache hit rates, and per-request inference cost. - Use Case: A service's p99 latency doubled after a release. Use this Skill to reproduce the workload, profile the hot path, test a narrow hypothesis (e.g., an N+1 query), and validate the fix with repeatable measurements. ## Quick Start Use the performance-profiling skill to investigate why this endpoint's latency spiked and produce a before/after benchmark report.