Types
Sent when new profile recording is started using console.profile() call.
Coverage data for a source range.
Coverage data for a JavaScript function.
Specifies a number of samples attributed to a certain source position.
Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage
for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediately at a certain point in time.
Profile node. Holds callsite information, execution statistics and child nodes.
Coverage data for a JavaScript script.
Properties
Sent when new profile recording is started using console.profile() call.
Reports coverage delta since the last poll (either from an event like this, or from takePreciseCoverage
for the current isolate. May only be sent if precise code coverage has been started. This event can be trigged by the embedder to, for example, trigger collection of coverage data immediately at a certain point in time.
Functions
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code coverage may be incomplete. Enabling prevents running optimized code and resets execution counters.
Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.