-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance Observer Review (formerly Navigation Timing 2 concepts) #18
Comments
Discussed at London F2F; @mnot to find out status and report back; if it's still alive, we have work to do. |
N.B. Newer spec in TR - http://www.w3.org/TR/navigation-timing-2/ |
It's still alive, but not getting a lot of current attention; there are some pending updates that probably won't make it in before TPAC, but they're apparently about the algorithm, not the API, so we could review for TPAC (where they're meeting). |
Where's the damn like button? Stupid Facebook changing their UX again... |
Discussed in NYC; alex to review. |
Question: does the group want our feedback? We need to reach out and schedule a discussion with them on a future telcon. |
/cc @igrigorik |
@torgo re, feedback: yes. FWIW, we're doing a lot of shuffling and spec cleanup work at the moment, so (a) make sure you're looking at the latest draft, and (b) check the open issues as we have a bunch of work in flight. |
Discussed on call 5-Aug – we want to be involved when they need us but we need to be able to respond to a concrete request for feedback. Issue to be reassigned to Boston f2f. |
Picked up in Boston. |
@slightlyoff : "strange that it's not possible to query the navigation timing api with reference to a resource." |
Editor's draft is now at https://w3c.github.io/navigation-timing/ |
@slightlyoff to write up some comments in advance of a joint discussion. We could discuss with @igrigorik at TPAC or beforehand if it can be arranged. |
Per the TPAC discussion, I need to update the draft review to also discuss the Performance Observer API designs that are coming down the pike. |
Need to check-in with current status of Performance Observer spec and implementation progress. Should revisit at next TAG f2f meeting. |
Can we prioritize this? Are there are any particular questions we can address to resolve this? |
@igrigorik What subset of performance timeline features have Firefox and Chrome implemented on Performance Observer? (Nav Timing/Resource Timing/User Timing/Frame Timing/Server Timing/other?) Are all open spec issues from TPAC 2015 on when a Nav Timing is delivered to the Performance Observer resolved? |
As far as I can tell, Mozilla's implementation is feature complete (including new getEntries filtering) and integration with all the shipped perf APIs (user, nav, and resource timing). The implementation in Chrome enables PerfObserver interface and integrates with User + Resource Timing. Nav Timing support is missing because we need to update our NT implementation to v2 -- once that's done the observer support will be there. |
Apologies for the delay in getting back to everyone. Overall Performance Timeline 2 looks good! A few things stand out:
Thanks! |
Thanks for the review Alex!
I assume you meant Perf Timeline 2, not Nav Timing 2. I think we can address this in the intro section. We already provide a PerfObserver code sample and I think we can just: (a) clarify that this is a v2 feature, (b) explain why it should be a preferred way to access the timeline.
That algorithm defines the steps that are invoked by other specifications when they need to queue a "new entry" - e.g. Frame Timing allocates new entry and invokes the algorithm.
What would that symbol be associated with?
I think IntersectionObserver is attempting to do something similar by leveraging requestIdleCallback - open bug to cleanup interop. PerfObserver came about before we had rIC. It might make sense to go back and define PerfObserver to fire via rIC.
There is a note in 3.1 that lists all valid entryType values, with links to each spec: https://www.w3.org/TR/performance-timeline-2/#the-performanceentry-interface
No. If you register an observer after an event has already happened, you won't get a notification for it. If you want to get notifications for resource timing / nav timing entries when the page is loading, you should register the PerfObserver as a first thing in your doc -- e.g. inline the registration snippet in the head of the doc, before any resource declarations. |
Taken up on 20-07-2016. We agreed to close the issue. |
https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/NavigationTiming2/Overview.html
At first glance
getEntriesByType
seems ... weird.The text was updated successfully, but these errors were encountered: