What problem does it solve? Slow endpoints, memory leaks, bloated bundles, and N+1 database queries are hard to diagnose without systematic profiling. This Skill provides a structured measure-first workflow to find the real bottleneck, fix it, and verify the improvement with before/after metrics. ## Core Features & Use Cases - CPU and Memory Profiling: Generate flamegraphs with clinic.js, py-spy, and Go pprof; capture heap snapshots and detect event loop blocking. - Database and Bundle Analysis: Run EXPLAIN ANALYZE, detect N+1 queries, and audit bundle size with webpack-bundle-analyzer and source-map-explorer. - Load Testing: Run k6 and Artillery scenarios with ramp-up stages and P95/P99 latency thresholds. - Use Case: Your API's P99 latency exceeds SLA before a release. Run the profiler script to flag risk indicators, generate a flamegraph to find the hot code path, fix the N+1 query, then re-run a k6 load test to confirm the improvement. ## Quick Start Ask the assistant to profile your project for performance bottlenecks by running the performance profiler script against your project directory and reviewing the report.