Delayed Dispatch of PerformanceEntries

Previously, we always dispatched PerformanceEntries to PerformanceObservers via a simple PostTask. We propose to switch to dispatching these entries during idle times, or 100ms after they’ve been queued, whichever comes first. The spec encourages this new behavior: “The performance timeline task queue is a low priority queue that, if possible, should be processed by the user agent during idle periods to minimize impact of performance monitoring code.”

Demo

Documentation

Specification

Established standard

Status in Chromium

Blink>PerformanceAPIs


No active development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No public signals
  • No public signals
  • No public signals
  • No signals

Owners

Last updated on 2020-04-03