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

Issue 698347 link

Starred by 1 user

Issue metadata

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

Blocking:
issue 681875
issue 783354



Sign in to add a comment

Record data used by favicons

Project Member Reported by bengr@chromium.org, Mar 3 2017

Issue description

We should measure how much network data is used to fetch favicons. Favicons are typically small, e.g., 16x16 pixels, but with apple-touch-icons, they can be much larger. In addition the 404s that servers return for favicons that do not exist are often quite large themselves.

UMA ideally would record favicon over-the-network sizes (it might be good to report cached favicons as having zero over-the-network size instead of ignoring them). Favicon 404s (or maybe any non-200 response) size should be reported separately. 

Finally, a favicon is a complete waste of data if it is never shown. It would be great to track data use for favicons that are never shown. I'm not sure what the approach would be.
 
Labels: zine-favicon-pe

Comment 2 by bengr@chromium.org, Mar 20 2017

Blocking: 681875
Status: Started (was: Assigned)
CL in review for measuring data downloaded by favicon and its non-200 responses.
https://codereview.chromium.org/2764893003/
In Android, favicon is shown in the following cases.
* Tab switcher
* Bookmarks
* History
* New tab page (if the site is one of user's top visited page)
* Home screen (if the user chooses 'Add to home screen')

Metric should be added to track whether favicon is displayed to the user. This will determine how much of favicon data use is wasted.
Hi! May I ask about the status of this effort? I see a patch with LGTMs, possibly forgotten. Thx!
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 7 2017

From mastiz@, pkotwicz@:

* NewTabPage.SuggestionsImpression counts tile impressions in the NTP
* UserActions.Counts.MobileToolbarShowStackView gets recorded each time that the tab switcher button is pressed

I will start analyzing these metrics, once some data obtained from commit c#6.

Comment 8 by bengr@chromium.org, Apr 30 2017

We should have some data now. Please analyze.
Based on Beta channel and metric DataUse.FavIcon.Downstream, what I see is roughly:
- 50th percentile: ~1 KB.
- 95th percentile: 13 KB.
- 99th percentile: 40 KB.

The other takeaway is that the zero bucket (representing HTTP cache hits IIUC) represents 30% of all requests.

I am a bit puzzled: is it size per one icon?

Can we somehow infer daily/weekly/monthly traffic for one user?
(if not, wouldn't be of interest to record such things for all the DataUse types, bengr@?)
Do you mean percentiles for sums per user? Averages are obviously there since we know the number of users. Anyway, total sums is likely what we need. As per the original plan, I believe we were going to compare these metrics (sums) with some other number of interactions (sums), as per c#7.
Yes, I meant recording the traffic per user in order to see percentiles.

I agree this is not needed for this particular bug. 

In general, this would be nice. I am just curious (mwd@, bengr@)
 - can I obtain the percentiles for sums per user using collab from the existing metrics or 
 - would separate metrics be needed for that?
Labels: -M-59 M-64
Raj, what's the status?
Blocking: 783354
Raj, anything left to do on this one? Or is it done?
No code changes necessary.
Some in-depth analysis is pending and I could close it with that update.
Any updates? Can we just close this?

Comment 18 by bengr@chromium.org, Apr 11 2018

Labels: -Pri-2 -M-64 Pri-3
Labels: -Pri-3 M-72 Pri-2
We need to do some analysis to verify that it's logged properly.
Labels: -Pri-2 Pri-3

Sign in to add a comment