node/doc/api
Joyee Cheung fc5636e1eb v8: implement v8.takeCoverage()
Add an v8.takeCoverage() API that allows the user to write the
coverage started by NODE_V8_COVERAGE to disk on demand.
The coverage can be written multiple times during the lifetime
of the process, each time the execution counter will be reset.
When the process is about to exit, one last coverage will
still be written to disk.

Also refactors the internal profiler connection code
so that we use the inspector response id to identify
the profile response instead of using an ad-hoc flag in C++.

PR-URL: https://github.com/nodejs/node/pull/33807
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Ben Coe <bencoe@gmail.com>
2020-10-22 10:53:32 +00:00
..
addons.md 2020-10-06, Version 12.19.0 'Erbium' (LTS) 2020-10-06 13:34:04 -07:00
assert.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
async_hooks.md doc: changes description must end with a period 2020-10-09 18:46:46 +00:00
buffer.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
child_process.md doc: harmonize version list style in YAML comments 2020-10-09 18:46:45 +00:00
cli.md src: add --heapsnapshot-near-heap-limit option 2020-10-22 03:41:11 +08:00
cluster.md doc: sort md references in ASCII order 2020-10-01 06:19:25 -07:00
console.md doc: add entry to console.timeEnd() changes array 2020-10-04 07:56:19 +02:00
crypto.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
debugger.md doc: sort md references in ASCII order 2020-10-01 06:19:25 -07:00
deprecations.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
dgram.md doc: harmonize changes list ordering 2020-10-09 18:46:47 +00:00
dns.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
documentation.md doc: sort md references in ASCII order 2020-10-01 06:19:25 -07:00
domain.md doc: fix missing PR-URLs in YAML comments 2020-10-09 18:46:45 +00:00
embedding.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
errors.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
esm.md module: cjs-module-lexer@0.4.1 big endian fix 2020-10-14 16:15:32 -04:00
events.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
fs.md 2020-10-15, Version 14.14.0 (Current) 2020-10-15 19:29:09 -04:00
globals.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
http2.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
http.md 2020-10-15, Version 14.14.0 (Current) 2020-10-15 19:29:09 -04:00
https.md doc: harmonize changes list ordering 2020-10-09 18:46:47 +00:00
index.md crypto: refactoring internals, add WebCrypto 2020-10-07 17:27:05 -07:00
inspector.md doc: use .md extension for internal links 2020-10-01 06:19:12 -07:00
intl.md doc: sort md references in ASCII order 2020-10-01 06:19:25 -07:00
module.md doc: use .md extension for internal links 2020-10-01 06:19:12 -07:00
modules.md module: add setter for module.parent 2020-10-17 00:49:56 +02:00
n-api.md 2020-10-15, Version 14.14.0 (Current) 2020-10-15 19:29:09 -04:00
net.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
os.md doc: use kbd element in os doc 2020-10-20 04:45:52 -07:00
packages.md doc: move package.import content higher 2020-10-09 15:10:23 -04:00
path.md path: add path/posix and path/win32 alias modules 2020-10-20 14:27:31 +00:00
perf_hooks.md doc: fixup perf_hooks 2020-10-11 10:00:52 +00:00
policy.md doc: revise dependency redirection text in policy.md 2020-09-24 04:30:35 -07:00
process.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
punycode.md tools,doc: enforce alphabetical order for md refs 2020-09-22 10:25:43 -07:00
querystring.md doc: harmonize version list style in YAML comments 2020-10-09 18:46:45 +00:00
quic.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
readline.md doc: use kbd element in readline doc 2020-10-21 04:44:36 -07:00
repl.md doc: implement fancier rendering for keys 2020-10-02 03:27:05 -07:00
report.md doc: sort md references in ASCII order 2020-10-01 06:19:25 -07:00
stream.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
string_decoder.md doc: add a statement in the documentation. 2020-10-20 13:24:31 +05:30
synopsis.md doc: use .md extension for internal links 2020-10-01 06:19:12 -07:00
timers.md 2020-10-06, Version 12.19.0 'Erbium' (LTS) 2020-10-06 13:34:04 -07:00
tls.md doc: harmonize version list style in YAML comments 2020-10-09 18:46:45 +00:00
tracing.md doc: simplify wording in tracing APIs doc 2020-10-10 05:55:04 -07:00
tty.md doc: use kbd element in tty doc 2020-10-15 03:44:25 -07:00
url.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
util.md util: add util/types alias module 2020-10-21 01:26:34 +02:00
v8.md v8: implement v8.takeCoverage() 2020-10-22 10:53:32 +00:00
vm.md doc: clarify experimental API elements in vm.md 2020-10-19 04:48:35 -07:00
wasi.md wasi: drop --experimental-wasm-bigint requirement 2020-10-18 20:17:43 +02:00
webcrypto.md 2020-10-20, Version 15.0.0 (Current) 2020-10-20 15:42:45 +01:00
worker_threads.md doc: harmonize changes list ordering 2020-10-09 18:46:47 +00:00
zlib.md doc: fix YAML syntax errors 2020-10-06 15:52:10 -07:00