cpu-profiling-guide
Installation
SKILL.md
CPU Profiling Guide
Phase 1: Symptom Assessment
- Characterize the CPU issue
- Sustained high CPU (> 80% continuously)
- CPU spikes correlated with specific operations
- High CPU at low traffic (idle CPU waste)
- CPU-bound latency (slow responses despite available I/O)
- One core saturated (single-threaded bottleneck)
- Collect baseline metrics
- CPU utilization per core and per process
- Thread/goroutine count
- Context switch rate
- System vs. user CPU time ratio
- Correlate CPU with application events (requests, jobs, deployments)