Contact emails
Engineering ksak...@chromium.org
Spec igri...@chromium.org
Spec
[1] http://www.w3.org/TR/user-timing/
[2] https://w3c.github.io/resource-timing/
[3] https://w3c.github.io/performance-timeline/
Summary
We are:
making the already shipped User Timing and Resource Timing APIs available to Workers (this section in [3]).
adding a workerStart to Resource Timing (this section in [2]).
Note: workerStart is also defined in the Navigation Timing V2 spec. Chrome’s existing implementation is based on a V1 spec. This will be for a separate intent to implement & ship discussion.
Motivation
Service Workers can be used to dramatically improve the performance of a web application, esp. loading improvements come to mind. With Push/Notification API and upcoming APIs such as Background Sync, Service Worker will also handle app logic that a developer might want to instrument via the User Timing API.
Adding support for User Timing and Resource Timing APIs to Workers will help developers measure and compare the gains of different designs. The new attribute workerStart is needed to account for lifecyle considerations which didn’t exist with document centric designs.
Compatibility Risk
The first change is about surfacing 2 shipped APIs to Workers: minimal risk.
The second change is about adding one attribute to an existing API surface: low risk.
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
Link to entry on the feature dashboard
Existing entries:
Resource Timing API: https://www.chromestatus.com/feature/5796350423728128
User Timing API: https://www.chromestatus.com/feature/5066549580791808
Requesting approval to ship?
Yes.On 6/11/15 9:07 PM, 'Kenji Baheux' via blink-dev wrote:
adding a workerStart to Resource Timing (this section in [2
<https://w3c.github.io/resource-timing/#widl-PerformanceResourceTiming-workerStart>]).
I thought this section of the spec was in flux (and that in particular it's not clear that this attribute will end up being an attribute at all).
Are you also planning to change the zero time of performance.now() in dedicated workers as part of these changes?
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To take a peek at the next step, are there any open issues around these prefixed APIs in the spec that might get in the way of speedy unprefixing?
On Fri, Jul 10, 2015 at 3:22 PM, Philip Jägenstedt <phi...@opera.com> wrote:To take a peek at the next step, are there any open issues around these prefixed APIs in the spec that might get in the way of speedy unprefixing?As in, issues against clearResourceTimings(), setResourceTimingBufferSize(), and resourcetimingbufferfull events? If so, no, I'm not aware of any.