UKM should record time from navigation to main frame request being sent |
||||||
Issue descriptionThis should include any and all delays in between, including but not limited to DNS resolution, TLS setup, proxy setup, etc. For intents from other apps, the navigation start should ideally be when the intent is first sent to Chrome. I think this should also include redirects. We should have a histogram for each type of navigation, certainly for link clicks, URL bar selections, and intents, but possibly for others as well. ui::PageTransition and FrameMsg_NavigationType are both unsatisfying but could be good starting points for a design.
,
Jul 2
IIUC that includes the time from the request being sent to the first byte being received. I was hoping to factor that out. Also, I think separating link clicks, omnibar navigations, and intents would be telling.
,
Nov 26
Ping! This bug has been flagged as stale by Chrome Speed Metrics bug triage, and it has an owner. Any update on this issue?
,
Nov 26
bengr, I think the right way to go about this is via UKM. Could you clarify: Do you mean the amount of time from navigation start until we start to send the headers to the final location (including redirects and connection time)? Or something in that area. Note with network s13n, it may be a little trickier to get certain events exposed at the level we would need them.
,
Nov 27
With s13n, it should still be possible to get resource timing for the main frame request. See https://cs.chromium.org/chromium/src/chrome/browser/page_load_metrics/observers/ukm_page_load_metrics_observer.cc?rcl=ab0c2e9255d4158565ec08abe9daf72a25c09f6b&l=147. I agree we should do it in UKM. From UKM PLM observer, we can also get the time for navigation start. Subtracting that from time when the main frame request was sent should give us the required result.
,
Nov 29
,
Jan 7
,
Jan 18
(4 days ago)
This is now recorded as UKM MainFrameResource.NavigationStartToRequestStart
,
Jan 18
(4 days ago)
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by ryansturm@chromium.org
, Jul 2