Intent to Implement: Performance Observer API

116 views
Skip to first unread message

Michael Blain

unread,
May 7, 2015, 6:32:27 PM5/7/15
to blin...@chromium.org

Contact emails

m...@chromium.org, igri...@chromium.org, nd...@chromium.org


Spec

http://w3c.github.io/performance-timeline/#the-performance-observer-interface


Summary

Performance Observer is a new interface to the Performance Timeline [http://w3c.github.io/performance-timeline] which allows a callback function to be invoked when there are new performance events added matching a certain criteria.


Motivation

The Performance Timeline does not work well in a shared environment. Because it is one global buffer, any user of the timeline may clear events or change the buffer size which could impact other simultaneous users. For Frame Timing [http://w3c.github.io/frame-timing] in particular, the potentially large volume of events makes a (small) shared buffer problematic.


Compatibility Risk

Low. There have been several discussions about this API on the W3C Web Perf working group mailing list and conference calls. There is general consensus that this API is the correct step forwards.


Ongoing technical constraints

None.


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes.


OWP launch tracking bug?

http://crbug.com/485613


Link to entry on the feature dashboard

http://www.chromestatus.com/features/5945504202489856


Requesting approval to ship?

No.


Reply all
Reply to author
Forward
0 new messages