-
Notifications
You must be signed in to change notification settings - Fork 30
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
Lack of Feature Parity with Performace.measure() in Level 2 #154
Comments
Interesting observation! I think that we could change user timing to use PerformanceNavigationTiming instead of PerformanceTiming. It looks like the names used in one or the other are almost the same, or exactly the same? The exception would be |
Looking at the list of names, it seems to be comprised of:
It seems like the only one that we cannot define by relying on the non-obsoleted parts of the spec is @c3-ThomasHuo - is your issue that this attribute would be missing? Or that we currently rely on parts of the spec we say are obsoleted? Or something else? |
One of the discussions we've been having in the WebPerf WG lately has been around possibly having more than a singular NavigationTiming entry. For example, from BFCache or SPA Soft navigations. If we do update UserTiming to be based on PerformaceNavigationTiming, we will want to consider how it would behave if there were more than one entry. (i.e. based on the attributes from the most recent entry?) |
Options to resolve this:
|
On the second point, I filed https://bugs.chromium.org/p/chromium/issues/detail?id=1318445 |
From the documentation of Performance.measure(), it seems like the startMark and endMark still depend on PerformanceTiming, which is clearly being depreciated. Is there a way to have it now default to PerformaceNavigationTiming properties instead?
The text was updated successfully, but these errors were encountered: