Skip to content

Commit ecbdda8

Browse files
authored
Add --generateCpuProfile to wiki
1 parent 8d0b00c commit ecbdda8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pages/Compiler Options.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Option | Type | Default
2626
`--experimentalDecorators`<sup>[1]</sup> | `boolean` | `false` | Enables experimental support for ES decorators.
2727
`--extendedDiagnostics` | `boolean` | `false` | Show verbose diagnostic information
2828
`--forceConsistentCasingInFileNames` | `boolean` | `false` | Disallow inconsistently-cased references to the same file.
29+
`--generateCpuProfile` | `string` | `profile.cpuprofile` | Generates a cpu profile at the given path. Passing an existing directory name instead of a file path will cause a timestamp-named profile to be generated in that directory instead.
2930
`--help`<br/>`-h` | | | Print help message.
3031
`--importHelpers` | `boolean` | `false` | Import emit helpers (e.g. `__extends`, `__rest`, etc..) from [`tslib`](https://www.npmjs.com/package/tslib)
3132
`--incremental` | `boolean` | `true` if `composite` is on, `false` otherwise | Enable incremental compilation by reading/writing information from prior compilations to a file on disk. This file is controlled by the `--tsBuildInfoFile` flag.

0 commit comments

Comments
 (0)