What problem does it solve?
This Skill helps you identify the real bottlenecks causing slow application performance, excessive P99 latency, suspected memory leaks, bundle-size regressions, and slow database queries—then verify improvements with before/after measurements.
Core Features & Use Cases
- Measure-first profiling workflows: Establish baselines before changing anything to avoid optimizing the wrong issue.
- CPU, memory, and bundle analysis recipes: Generate Node.js profiling artifacts (CPU profiles, heap snapshots, GC tracing) and analyze bundle size impacts for web apps.
- Database and load-testing guidance: Use SQL EXPLAIN/EXPLAIN ANALYZE and production-style query stats to diagnose query slowness, then validate results with k6 load testing.
Example use case: you deploy new dependencies, and your API’s P99 latency jumps—use profiling to confirm whether the issue is query performance, GC/memory growth, CPU hotspots, or increased bundle weight.
Quick Start
Run the performance-profiler skill to profile your application, collect baseline P50/P95/P99 and relevant metrics, apply targeted fixes (CPU, memory, bundle, DB, or API patterns), and re-measure to confirm improvement.