TypeScript · Compiler Diagnostics

generateCpuProfile

Emit a v8 CPU profile of the compiler run for debugging.

Syntax
"generateCpuProfile": "value"

Example

Example
{
  "compilerOptions": {
    "generateCpuProfile": "value"
  }
}

More in this group

diagnostics explainFiles extendedDiagnostics generateTrace listEmittedFiles listFiles noCheck traceResolution

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course