M
v8.stopCoverage
History
Added in: v15.1.0, v14.18.0, v12.22.0
v15.1.0, v14.18.0, v12.22.0
Introduced in: v4.0.0
v4.0.0
v8.stopCoverage(): void
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.