startCpuProfile
Starting a CPU profile then return a SyncCPUProfileHandle object. This API supports using syntax.
const handle = v8.startCpuProfile();
const profile = handle.stop();
console.log(profile);Content copied to clipboard
Since
v24.12.0