From 01607450577cfdcec652ed655058cace4bbe4179 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 5 Jun 2024 12:16:00 +0200 Subject: [PATCH] doc: mark --cpu-prof and related flags stable PR-URL: https://github.com/nodejs/node/pull/53343 Reviewed-By: Matteo Collina Reviewed-By: Richard Lau Reviewed-By: Paolo Insogna Reviewed-By: Ruy Adorno Reviewed-By: Marco Ippolito Reviewed-By: Chengzhong Wu Reviewed-By: Luigi Pinca Reviewed-By: Michael Dawson Reviewed-By: Trivikram Kamat Reviewed-By: Gireesh Punathil Reviewed-By: Rafael Gonzaga --- doc/api/cli.md | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/doc/api/cli.md b/doc/api/cli.md index a40d0958cf9567..a4ca904e1c5e66 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -494,9 +494,14 @@ node -C development app.js -> Stability: 1 - Experimental +> Stability: 2 - Stable Starts the V8 CPU profiler on start up, and writes the CPU profile to disk before exit. @@ -517,9 +522,14 @@ CPU.20190409.202950.15293.0.0.cpuprofile -> Stability: 1 - Experimental +> Stability: 2 - Stable Specify the directory where the CPU profiles generated by `--cpu-prof` will be placed. @@ -531,9 +541,14 @@ The default value is controlled by the -> 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. @@ -542,9 +557,14 @@ by `--cpu-prof`. The default is 1000 microseconds. -> Stability: 1 - Experimental +> Stability: 2 - Stable Specify the file name of the CPU profile generated by `--cpu-prof`.