Skip to content

Commit

Permalink
doc: mark --cpu-prof and related flags stable
Browse files Browse the repository at this point in the history
PR-URL: #53343
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Paolo Insogna <[email protected]>
Reviewed-By: Ruy Adorno <[email protected]>
Reviewed-By: Marco Ippolito <[email protected]>
Reviewed-By: Chengzhong Wu <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Rafael Gonzaga <[email protected]>
  • Loading branch information
joyeecheung authored and marco-ippolito committed Jul 19, 2024
1 parent daf9183 commit 0b9daaa
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 @@ -490,9 +490,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 @@ -513,9 +518,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 @@ -527,9 +537,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 @@ -538,9 +553,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 0b9daaa

Please sign in to comment.