Skip to main content

Module profiler

Module profiler 

Source
Expand description

The Profiler domain.

Method names for the Profiler domain, for use with CdpClient::call.

Constantsยง

DISABLE
Profiler.disable
ENABLE
Profiler.enable
GET_BEST_EFFORT_COVERAGE
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
SET_SAMPLING_INTERVAL
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
START
Profiler.start
START_PRECISE_COVERAGE
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.
STOP
Profiler.stop
STOP_PRECISE_COVERAGE
Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
TAKE_PRECISE_COVERAGE
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.