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

Parameters:

Link to this function

disable(page_pid, parameters) View Source

Link to this function

disable(page_pid, parameters, opts) View Source

Parameters:

Link to this function

enable(page_pid, parameters) View Source

Link to this function

enable(page_pid, parameters, opts) View Source

Link to this function

getBestEffortCoverage(page_pid) View Source

Collect coverage data for the current isolate. The coverage data may be incomplete due to garbage collection.

Parameters:

Link to this function

getBestEffortCoverage(page_pid, parameters) View Source

Link to this function

getBestEffortCoverage(page_pid, parameters, opts) View Source

Link to this function

setSamplingInterval(page_pid) View Source

Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.

Parameters: interval - - New sampling interval in microseconds.

Link to this function

setSamplingInterval(page_pid, parameters) View Source

Link to this function

setSamplingInterval(page_pid, parameters, opts) View Source

Parameters:

Link to this function

start(page_pid, parameters) View Source

Link to this function

start(page_pid, parameters, opts) View Source

Link to this function

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 - - Collect accurate call counts beyond simple 'covered' or 'not covered'.detailed - - Collect block-based coverage.

Link to this function

startPreciseCoverage(page_pid, parameters) View Source

Link to this function

startPreciseCoverage(page_pid, parameters, opts) View Source

Parameters:

Link to this function

stop(page_pid, parameters) View Source

Link to this function

stop(page_pid, parameters, opts) View Source

Link to this function

stopPreciseCoverage(page_pid) View Source

Disable precise code coverage. Disabling releases unnecessary execution count records and allows executing optimized code.

Parameters:

Link to this function

stopPreciseCoverage(page_pid, parameters) View Source

Link to this function

stopPreciseCoverage(page_pid, parameters, opts) View Source

Link to this function

takePreciseCoverage(page_pid) View Source

Collect coverage data for the current isolate, and resets execution counters. Precise code coverage needs to have started.

Parameters:

Link to this function

takePreciseCoverage(page_pid, parameters) View Source

Link to this function

takePreciseCoverage(page_pid, parameters, opts) View Source