Unedited, in real time: Profile CPU on a running process, then Stop, then the heat map and results panel.

Unedited screen recording of a CPU profiling session in VS Code

Read the guide: Profiler