From cf375e73c15ff884d7b9915cfd13cfe4af1bc649 Mon Sep 17 00:00:00 2001 From: Joyee Cheung Date: Wed, 5 Jun 2024 12:17:10 +0200 Subject: [PATCH] doc: mark --heap-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 a4ca904e1c5e66..d8ce13a86d9aa8 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1173,9 +1173,14 @@ To allow polyfills to be added, -> Stability: 1 - Experimental +> Stability: 2 - Stable Starts the V8 heap profiler on start up, and writes the heap profile to disk before exit. @@ -1196,9 +1201,14 @@ Heap.20190409.202950.15293.0.001.heapprofile -> Stability: 1 - Experimental +> Stability: 2 - Stable Specify the directory where the heap profiles generated by `--heap-prof` will be placed. @@ -1210,9 +1220,14 @@ The default value is controlled by the -> Stability: 1 - Experimental +> Stability: 2 - Stable Specify the average sampling interval in bytes for the heap profiles generated by `--heap-prof`. The default is 512 \* 1024 bytes. @@ -1221,9 +1236,14 @@ by `--heap-prof`. The default is 512 \* 1024 bytes. -> Stability: 1 - Experimental +> Stability: 2 - Stable Specify the file name of the heap profile generated by `--heap-prof`.