commit | ead457578785b3efe6ba2f4bf7bd4b94a5936d9d | [log] [tgz] |
---|---|---|
author | Paul Lewis <[email protected]> | Tue Jun 23 09:51:36 2020 |
committer | Commit Bot <[email protected]> | Tue Jun 23 14:45:02 2020 |
tree | 4f30edf6c6b384c40b6ef00901576b044009a1f0 | |
parent | 51152e86cd5f31d2092a2323e63be9be84d135df [diff] |
[Performance] Retime markers against nav start records The current timeline behavior assumes that time 0 is the start of the trace. This assumption holds up just fine under many cases, but in page load contexts in particular, it does not. Indeed there is a difference between the values for metrics like FCP and LCP as reported in the trace as compared to the values reported by PerformanceObserver, since the former is measured from the trace start, where the latter measures since the NavigationStart trace event. This CL changes two things: 1) it changes the times shown in the ruler to be relative to NavigationStart events, should any exist; 2) it modifies the time reported in the details for markers to again be relative to the nearerst NavigationStart event. Every time there is a navigation event, the ruler's time is reset to 0ms, thus we catch traces with multiple navigation events. See https://imgur.com/a/ueU7GbD for before & after images. Bug: 974550 Change-Id: Ic75ac3940ec18ba3413745ceb7c7ae528f5e9019 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2252159 Commit-Queue: Paul Lewis <[email protected]> Reviewed-by: Jan Scheffler <[email protected]>
The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.
The frontend is available on chromium.googlesource.com.
Please be aware that DevTools follows additional development guidelines.
The issue triage guidelines can be found here.
Instructions to set up, use, and maintain a DevTools frontend checkout can be found here.
DevTools frontend repository is mirrored on GitHub.
DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.
The version number of the npm package (e.g. 1.0.373466
) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.
All DevTools commits: View the log or follow @DevToolsCommits on Twitter
All open DevTools tickets on crbug.com
File a new DevTools ticket: new.crbug.com
Code reviews mailing list: [email protected]
@ChromeDevTools on Twitter
Chrome DevTools mailing list: groups.google.com/forum/google-chrome-developer-tools