Chrome Remote Interface v0.4.1 ChromeRemoteInterface.RPC.Profiler View Source
Link to this section Summary
Functions
Parameters
Parameters
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.
Parameters
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.
Parameters
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.
Link to this section Functions
disable(page_pid) View Source
Parameters:
disable(page_pid, parameters) View Source
disable(page_pid, parameters, opts) View Source
enable(page_pid) View Source
Parameters:
enable(page_pid, parameters) View Source
enable(page_pid, parameters, opts) View Source
experimental?() View Source
getBestEffortCoverage(page_pid) View Source
Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.
Parameters:
getBestEffortCoverage(page_pid, parameters) View Source
getBestEffortCoverage(page_pid, parameters, opts) View Source
setSamplingInterval(page_pid) View Source
Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
Parameters:
interval -
setSamplingInterval(page_pid, parameters) View Source
setSamplingInterval(page_pid, parameters, opts) View Source
start(page_pid) View Source
Parameters:
start(page_pid, parameters) View Source
start(page_pid, parameters, opts) View Source
startPreciseCoverage(page_pid) View Source
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.
Parameters:
callCount -
startPreciseCoverage(page_pid, parameters) View Source
startPreciseCoverage(page_pid, parameters, opts) View Source
stop(page_pid) View Source
Parameters:
stop(page_pid, parameters) View Source
stop(page_pid, parameters, opts) View Source
stopPreciseCoverage(page_pid) View Source
Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.
Parameters:
stopPreciseCoverage(page_pid, parameters) View Source
stopPreciseCoverage(page_pid, parameters, opts) View Source
takePreciseCoverage(page_pid) View Source
Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.
Parameters: