Skip to content

Commit

Permalink
doc: mark --cpu-prof and related flags stable
Browse files Browse the repository at this point in the history
  • Loading branch information
joyeecheung committed Jun 5, 2024
1 parent 8c5c2c1 commit 51acf22
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions doc/api/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,14 @@ node -C development app.js

<!-- YAML
added: v12.0.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/53343
description: The `--cpu-prof` flags are now stable.
-->

> Stability: 1 - Experimental
> Stability: 2 - Stable
Starts the V8 CPU profiler on start up, and writes the CPU profile to disk
before exit.
Expand All @@ -517,9 +522,14 @@ CPU.20190409.202950.15293.0.0.cpuprofile

<!-- YAML
added: v12.0.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/53343
description: The `--cpu-prof` flags are now stable.
-->

> Stability: 1 - Experimental
> Stability: 2 - Stable
Specify the directory where the CPU profiles generated by `--cpu-prof` will
be placed.
Expand All @@ -531,9 +541,14 @@ The default value is controlled by the

<!-- YAML
added: v12.2.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/53343
description: The `--cpu-prof` flags are now stable.
-->

> Stability: 1 - Experimental
> Stability: 2 - Stable
Specify the sampling interval in microseconds for the CPU profiles generated
by `--cpu-prof`. The default is 1000 microseconds.
Expand All @@ -542,9 +557,14 @@ by `--cpu-prof`. The default is 1000 microseconds.

<!-- YAML
added: v12.0.0
changes:
- version:
- REPLACEME
pr-url: https://github.com/nodejs/node/pull/53343
description: The `--cpu-prof` flags are now stable.
-->

> Stability: 1 - Experimental
> Stability: 2 - Stable
Specify the file name of the CPU profile generated by `--cpu-prof`.

Expand Down

0 comments on commit 51acf22

Please sign in to comment.