0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Joyee Cheung e0e3084482
inspector: implement --cpu-prof[-path]
This patch introduces a CLI flag --cpu-prof that starts the V8
CPU profiler on start up, and ends the profiler then writes the
CPU profile before the Node.js instance (on the main thread or
the worker thread) exits. By default the profile is written to
`${cwd}/CPU.${yyyymmdd}.${hhmmss}.${pid}.${tid}.${seq}.cpuprofile`.
The patch also introduces a --cpu-prof-path flag for the user
to specify the path the profile will be written to.

Refs: https://github.com/nodejs/node/issues/26878
PR-URL: https://github.com/nodejs/node/pull/27147
Reviewed-By: Anna Henningsen <anna@addaleax.net>
2019-04-19 15:38:23 +08:00
..
addons.md doc: hello addon example should return "world" 2019-03-05 23:54:31 +01:00
assert.md assert: adjust loose assertions 2019-01-27 03:34:25 +01:00
async_hooks.md doc: list when promiseResolve hook was added to async_hooks 2019-04-01 16:22:25 +02:00
buffer.md buffer: add {read|write}Big[U]Int64{BE|LE} methods 2019-04-06 19:30:23 +02:00
child_process.md child_process: change the defaults maxBuffer size 2019-04-17 14:05:15 -07:00
cli.md inspector: implement --cpu-prof[-path] 2019-04-19 15:38:23 +08:00
cluster.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
console.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
crypto.md crypto: add support for RSA-PSS keys 2019-04-08 09:22:32 +02:00
debugger.md
deprecations.md 2019-04-11, Version 11.14.0 (Current) 2019-04-11 17:56:55 +01:00
dgram.md dgram: add support for UDP connected sockets 2019-04-03 06:48:13 +02:00
dns.md dns: do not indicate invalid IPs are IPv6 2019-04-16 16:19:17 -07:00
documentation.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
domain.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
errors.md esm: replace --entry-type with --input-type 2019-04-16 12:41:59 -04:00
esm.md esm: replace --entry-type with --input-type 2019-04-16 12:41:59 -04:00
events.md 2019-03-28, Version 11.13.0 (Current) 2019-03-28 20:23:29 +01:00
fs.md fs: remove experimental warning for fs.promises 2019-04-02 14:20:05 +02:00
globals.md lib: move queueMicrotask to stable 2019-03-08 08:19:38 -06:00
http2.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
http.md doc: improve the doc of the 'information' event 2019-04-02 06:19:52 +02:00
https.md doc: add missing https Agent maxCachedSessions 2019-03-07 00:41:21 +01:00
index.md doc: add node-report documentation 2019-01-18 10:35:55 +05:30
inspector.md doc: add inspector API example for heapdump 2019-03-11 06:19:11 +01:00
intl.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
modules.md doc: add information about modules cache behavior 2019-04-01 18:07:09 +02:00
n-api.md doc: add missing n-api version indicator 2019-04-11 17:31:19 -04:00
net.md benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
os.md doc: fix section sorting, add link reference 2019-04-03 22:44:53 +03:00
path.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
perf_hooks.md benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
policy.md doc: fix metadata for v11.8.0 doc changes 2019-01-25 19:09:26 -08:00
process.md process: add --unhandled-rejections flag 2019-04-15 18:29:07 +02:00
punycode.md
querystring.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
readline.md 2019-04-11, Version 11.14.0 (Current) 2019-04-11 17:56:55 +01:00
repl.md repl: fix terminal default setting 2019-03-25 16:28:07 +01:00
report.md report: add cwd to report 2019-04-02 20:48:59 -04:00
stream.md doc: fix some links 2019-04-15 07:20:38 +02:00
string_decoder.md
synopsis.md doc: sort bottom-of-file markdown links 2018-11-28 13:09:31 -08:00
timers.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
tls.md doc: correct typo: cert.issuerCertificate 2019-03-28 14:20:08 -07:00
tracing.md doc,lib,test: capitalize comment sentences 2018-12-17 17:14:35 +01:00
tty.md doc: specify return type for tty.isatty() 2019-04-09 23:06:46 +03:00
url.md doc: list all versions WHATWG URL api was added 2018-12-05 15:08:38 -08:00
util.md doc: update util colors 2019-04-15 17:30:53 +02:00
v8.md doc: remove outdated link 2019-04-09 16:43:04 -04:00
vm.md doc: fix section order in vm.md 2019-01-14 09:36:41 +01:00
worker_threads.md 2019-04-11, Version 11.14.0 (Current) 2019-04-11 17:56:55 +01:00
zlib.md benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00