Delaying PerformanceEntry dispatch

The Performance Timeline spec states
"The performance timeline task queue
<https://html.spec.whatwg.org/multipage/#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." (spec
<https://w3c.github.io/performance-timeline/#queue-a-performanceentry>)
Currently, it looks like all browsers dispatch these tasks immediately.

Chrome is thinking
<https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/TgoXNRtA3Zs>
about
delaying dispatch of most entries to execute during idle time, or with a
100ms delay, whichever comes first.

This aligns with the spec, but given that browser behavior is currently
aligned on delivering entries immediately, we thought we should reach out,
and see if other vendors believe this change is an improvement.

Any thoughts on whether this makes sense, and whether you're likely to add
this delay?

Thanks,
Tim

Received on Monday, 27 November 2017 13:34:27 UTC