New issue
Advanced search Search tips

Issue 859636 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jan 18
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

UKM should record time from navigation to main frame request being sent

Project Member Reported by bengr@chromium.org, Jul 2

Issue description

This 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.
 
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.
Ping! This bug has been flagged as stale by Chrome Speed Metrics bug triage, and it has an owner. Any update on this issue?
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.
Summary: UKM should record time from navigation to main frame request being sent (was: UMA should record time from navigation to main frame request being sent)
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.
Labels: Hotlist-GoodFirstBug
Owner: tbansal@chromium.org

Comment 8 by tbansal@chromium.org, Jan 18 (4 days ago)

Status: Fixed (was: Assigned)
This is now recorded as UKM MainFrameResource.NavigationStartToRequestStart

Comment 9 by tbansal@chromium.org, Jan 18 (4 days ago)

Labels: -Restrict-View-Google

Sign in to add a comment