New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 723707 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Feature



Sign in to add a comment

Page data use UKM should be broken down into components

Project Member Reported by bengr@chromium.org, May 17 2017

Issue description

At the very least page data use reports should by broken down by bytes used for the initial page load, and bytes used by requests after the initial page load.
 
Cc: manisca...@chromium.org
Cc: tdres...@chromium.org
I believe we can break out media. "initial page load" is non-trivial to define. What are your goals w.r.t. initial page load bytes? I'm disinclined to use any non-user-visible moments like the onload event (or domcontentloaded). We're working hard to move away from onload so I'd like to avoid coupling new metrics to it if possible.
Cc: dproy@chromium.org
Time to first interactive isn't implemented yet, but I think it would be a reasonable choice here.

If we wanted something here before that's done, we could maybe use some rough heuristic like "all resource requests initiated before first contentful paint", or something along those lines.

I think splitting out by file type would be less heuristic driven, and potentially more useful. Splitting out JS, CSS, and HTML would be quite interesting.

Comment 4 by bengr@chromium.org, Nov 30 2017

TTI seems like a great choice, once it's available. Splitting by file type would be informative as well.
This would need a UKM review and a more concrete definition of how this data is broken up.
Refreshed during triage.

Comment 7 by dproy@google.com, Mar 7 2018

I can confirm that Time to Interactive is available now. We have InteractiveDetector[1] on the renderer, and the timestamp is plumbed to the browser which can be accessed as a page load metrics observer[2]

Unfortunately, due to the nature of this metric, we can only record it successfully around 30% of the time right now [3]. If you do use it, you will have to be careful about this. 


[1] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/loader/InteractiveDetector.h?l=28&rcl=2f43d0a5b554eb1eb41c28f1a5d5c57c955710a8
[2] https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/loader/InteractiveDetector.h?l=28&rcl=2f43d0a5b554eb1eb41c28f1a5d5c57c955710a8
[3] https://uma.googleplex.com/p/chrome/histograms/?endDate=20180305&dayCount=7&histograms=PageLoad.Experimental.NavigationToInteractive%2CPageLoad.Experimental.TimeToInteractiveStatus&fixupData=true&showMax=true&filters=channel%2Ceq%2C4%2Cisofficial%2Ceq%2CTrue&implicitFilters=isofficial

Comment 8 by bengr@chromium.org, May 2 2018

Refreshed during triage.
There is a seperate bug for video bytes, and I'd like to keep this bug scoped to just bytes before/after a certain event.

https://bugs.chromium.org/p/chromium/issues/detail?id=821998
Description: Show this description
I'd propose recording bytes used between the following events:

Start | FirstContentfulPaint | TimeToInteractive | End

Comment 12 by bengr@chromium.org, May 17 2018

Adding FMP to the chain would be good too, if we believe in that metric.
Re: do we believe in FMP, in my experience it works fairly well ~80% of the time, and fails pretty badly in the remaining 20%.

In aggregate, the failures tend to average out fairly reasonably.

Comment 14 by bengr@chromium.org, Jun 22 2018

Status: WontFix (was: Assigned)

Sign in to add a comment