Methods

Chrome DevTools

Performance.disable #

Disable collecting and reporting metrics.


Chrome DevTools

Performance.enable #

Enable collecting and reporting metrics.

Parameters

timeDomain
Optional
string

Time domain to use for collecting and reporting duration metrics.

Allowed values: timeTicks, threadTicks


Chrome DevTools

Performance.getMetrics #

Retrieve current values of run-time metrics.

Return object

metrics
array[ Metric ]

Current values for run-time metrics.

Events

Chrome DevTools

Performance.metrics #

Current values of the metrics.

Parameters

metrics
array[ Metric ]

Current values of the metrics.

title
string

Timestamp title.

Types

Chrome DevTools

Performance.Metric #

Run-time execution metric.

Type: object

Properties

name
string

Metric name.

value
number

Metric value.