**TL;DR:** Profile your Node.js application, identify bottlenecks, detect memory leaks, and measure event loop lag with flamegraph output.
```bash
npm install @mrtech/performance-profiler --save-dev
```
```bash
npx perf-profiler attach --pid=$(pgrep -f "node.*server.js") --duration=60s
```
```bash
npx perf-profiler report --input=./reports/profile-123456.json --format=html
```
| Dimension | Rating | Notes |
|-----------|--------|-------|
| CPU Profiling | 5/5 | Native inspector, near-zero overhead |
| Memory Leak Detection | 4/5 | Heap snapshots with delta analysis |
| Event Loop Lag | 5/5 | Unique feature; directly measures JS main thread health |
Performance Profiler is what you reach for when your p99 latency is degraded and your existing APM isn't giving you a clear root cause. The event loop lag measurement is the killer feature.
Skill: performance-profiler | Ecosystem: claude-code | Runtime: node | Auth: api-key