Chromium Code Reviews
DescriptionAdd new UMA to record the bytes wasted due to download resumption
When resuming a download, it is possible chrome discards some of the data received.
This CL adds a new UMA histogram to track how much data is wasted due to this.
To make things simple, we check if bytes received keep on increasing on each update.
If the data received drops, that means the data is wasted.
This logic is not 100% accurate, as the update is not called on every byte change.
However, it should work in most of the cases, and we are only interested in a rough number.
This CL also changes the UMA SharedPrefs.
So have to do some conversions from old sharedpref version.
BUG=679092
, whenever download updates, we check if the bytes received
Review-Url: https://codereview.chromium.org/2681033002
Cr-Commit-Position: refs/heads/master@{#450415}
Committed: https://chromium.googlesource.com/chromium/src/+/541b4d75ca2d4994ac15dac596aa10be9ff180c1
Patch Set 1 #
Total comments: 8
Patch Set 2 : addressing comments #
Messages
Total messages: 10 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||