Skip to content

Commit

Permalink
doc: add link for v8.takeCoverage()
Browse files Browse the repository at this point in the history
PR-URL: #36135
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Harshitha K P <[email protected]>
  • Loading branch information
Trott authored and MylesBorins committed Aug 31, 2021
1 parent 84fcdc3 commit 591a05b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/api/v8.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ added: REPLACEME
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
Expand Down Expand Up @@ -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

0 comments on commit 591a05b

Please sign in to comment.