doc: add link for v8.takeCoverage()
PR-URL: https://github.com/nodejs/node/pull/36135 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
This commit is contained in:
parent
091f0d1a9e
commit
5a8a59e3b9
@ -247,7 +247,7 @@ added: v15.1.0
|
||||
The `v8.stopCoverage()` method allows the user to stop the coverage collection
|
||||
started by [`NODE_V8_COVERAGE`][], so that V8 can release the execution count
|
||||
records and optimize code. This can be used in conjunction with
|
||||
`v8.takeCoverage()` if the user wants to collect the coverage on demand.
|
||||
[`v8.takeCoverage()`][] if the user wants to collect the coverage on demand.
|
||||
|
||||
## `v8.writeHeapSnapshot([filename])`
|
||||
<!-- YAML
|
||||
@ -557,5 +557,6 @@ A subclass of [`Deserializer`][] corresponding to the format written by
|
||||
[`serializer.transferArrayBuffer()`]: #v8_serializer_transferarraybuffer_id_arraybuffer
|
||||
[`serializer.writeRawBytes()`]: #v8_serializer_writerawbytes_buffer
|
||||
[`v8.stopCoverage()`]: #v8_v8_stopcoverage
|
||||
[`v8.takeCoverage()`]: #v8_v8_takecoverage
|
||||
[`vm.Script`]: vm.md#vm_new_vm_script_code_options
|
||||
[worker threads]: worker_threads.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user