Making Your Node.js Applications Debuggable
summary
Shows how to get real V8 data: use V8 CPU profiler and heap snapshots, load the JSON into Chrome DevTools or nsolid, and read self vs total time to spot a 3.6 ms hotspot in a request handler. Demonstrates heap diffs that reveal ~2,000 extra incomingMessage objects over one minute, warns snapshot files are ~2× heap size, explains v8 inlining hides functions and suggests start/stop profiling during scripted load tests.
AI-written summary · about
chapters (10)
- 0:00Start
- 0:30what kind of profiling?
- 1:28what does V8's CPU profiler do!
- 3:09understanding CPU profiling intro: Google Developers: Speed Up JavaScript Execution
- 3:49time-line from Chrome Dev Tools
- 6:03table from Chrome Dev Tools
- 6:30flame graph from N|Solid
- 7:58sunburst from N|Solid
- 8:09how can you get CPU profiles?
- 9:26demo time!
