Record profiling output for CPU analysis.
Section: Memory, Profiling, and Coverage
Generate V8 profile log
bash
bash
node --prof app.jsExplanation
Useful in performance debugging workflows.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Memory, Profiling, and Coverage