Chrome DevTools Protocol

Methods

Performance.disable

Disable collecting and reporting metrics.

Performance.enable

Enable collecting and reporting metrics.

parameters
timeDomain
string

Time domain to use for collecting and reporting duration metrics.

Allowed Values: timeTicks, threadTicks

Performance.getMetrics

Retrieve current values of run-time metrics.

Return Object
metrics
array[ Metric ]

Current values for run-time metrics.

Events

Performance.metrics

Current values of the metrics.

parameters
metrics
array[ Metric ]

Current values of the metrics.

title
string

Timestamp title.

Types

Performance.Metric

Run-time execution metric.

Type: object

properties
name
string

Metric name.

value
number

Metric value.