diff options
Diffstat (limited to 'doc/node.1')
-rw-r--r-- | doc/node.1 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/node.1 b/doc/node.1 index 3de9a5748c..8387b6282a 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -78,6 +78,18 @@ Aborting instead of exiting causes a core file to be generated for analysis. .It Fl -completion-bash Print source-able bash completion script for Node.js. . +.It Fl -cpu-prof +Start the V8 CPU profiler on start up, and write the CPU profile to disk +before exit. If +.Fl -cpu-prof-path +is not specified, the profile will be written to the current working directory. +. +.It Fl -cpu-prof-path +Path the V8 CPU profile generated with +.Fl -cpu-prof +will be written to. When used alone, it implies +.Fl -cpu-prof +. .It Fl -diagnostic-report-directory Location at which the .Sy diagnostic report |