← Back to release summary

Delayed Dispatch of PerformanceEntries

Category
Performance
Type
New or changed feature
Status
No active development (Chrome No active development)
Intent stage
None

Summary

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.”

Standards & signals

Ecosystem

Docs: https://docs.google.com/document/d/1IBtjRvLgoN1OGcQYZISFQmeN0HShlxdm1IjmxZ-xaXw/edit?usp=sharing

View on chromestatus.com