Concept
Profiling shows where a Node process spends CPU time and memory under real load. The built-in inspector and --cpu-prof produce profiles you can read in Chrome DevTools.
The tutor works through these with you, in conversation and code. A session ends when you have shown them, not when a video does.
A few lines that show Profiling doing its job.
# CPU profile of a load test
node --cpu-prof --cpu-prof-dir=./profiles src/server.js &
npx autocannon -c 50 -d 20 http://localhost:3000/api/v1/orders
kill %1
# open profiles/*.cpuprofile in Chrome DevTools > Performance
# a heap snapshot for a suspected leak
node --heapsnapshot-signal=SIGUSR2 src/server.jsProfiling without load. A profile of an idle server shows nothing; generate realistic traffic and profile while it runs.
Your roadmap puts these before Profiling, unless you already know them.
Once a session shows you understand Profiling, it comes back for review. Each review takes a minute and tells the memory model how well you still know it.