0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/doc/api
Joyee Cheung 7cfcf8069b inspector: implement --cpu-prof-interval
This patch implements --cpu-prof-interval to specify the sampling
interval of the CPU profiler started by --cpu-prof from the command
line. Also adjust the interval to 100 in test-cpu-prof.js to make
the test less flaky - it would fail if the time taken to finish
the workload is smaller than the sampling interval, which was
more likely on powerful machines when the interval was 1000.

PR-URL: https://github.com/nodejs/node/pull/27535
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-05-05 10:19:17 -07:00
..
addons.md doc: hello addon example should return "world" 2019-03-05 23:54:31 +01:00
assert.md tools: prohibit assert.doesNotReject() in Node.js core 2019-04-27 18:22:27 +02:00
async_hooks.md src: do not reuse async resource in http parsers 2019-04-22 11:51:46 -07:00
buffer.md 2019-04-23, Version 12.0.0 (Current) 2019-04-23 16:46:54 +01: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-interval 2019-05-05 10:19:17 -07: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 2019-04-23, Version 12.0.0 (Current) 2019-04-23 16:46:54 +01:00
debugger.md inspector: use js_app.html as the landing page for chrome devtools 2018-06-28 09:24:02 -03:00
deprecations.md module: add createRequire method 2019-05-03 12:12:30 -07:00
dgram.md 2019-04-23, Version 12.0.0 (Current) 2019-04-23 16:46:54 +01: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 doc: describe API ERR_INVALID_PROTOCOL context 2019-04-30 08:44:53 -07: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 doc: clarify behaviour of writeFile(fd) 2019-04-24 09:03:16 -07: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 2019-04-23, Version 12.0.0 (Current) 2019-04-23 16:46:54 +01:00
https.md http: servername === false should disable SNI 2019-04-30 06:43:22 -07: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 module: throw on require('./path.mjs'); 2019-05-03 12:14:36 -07: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: fix extname with the correct description 2019-04-20 17:01:09 +03: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 2019-04-23, Version 12.0.0 (Current) 2019-04-23 16:46:54 +01:00
punycode.md doc: prevent some redirections 2018-07-14 22:57:03 +03:00
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 doc: fix pull request number 2019-04-25 01:25:28 +02:00
report.md report: print common items first for readability 2019-04-27 12:04:36 +02:00
stream.md doc: fix some links 2019-04-15 07:20:38 +02:00
string_decoder.md string_decoder: support typed array or data view 2018-09-17 17:48:44 +02:00
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 tls: support enableTrace in TLSSocket() 2019-05-02 12:37:49 -04: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 2019-04-23, Version 12.0.0 (Current) 2019-04-23 16:46:54 +01: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