|
|
Chromium Code Reviews
DescriptionAdd the metric to record percentage improvement for parallel download.
Records the ratio of bandwidth of parallel streams to the bandwidth of
single stream, and the ratio of total time to download a file with
parallel streams bandwidth to the actual total time.
BUG=720168
Review-Url: https://codereview.chromium.org/2874603002
Cr-Commit-Position: refs/heads/master@{#471608}
Committed: https://chromium.googlesource.com/chromium/src/+/a672d19ad76be908d9339fe093f88fd1e66b99f8
Patch Set 1 #Patch Set 2 : Change bucket granularity. #
Total comments: 2
Patch Set 3 : Change the formula of one metric. #Patch Set 4 : Rebased. #Messages
Total messages: 30 (18 generated)
xingliu@chromium.org changed reviewers: + dtrainor@chromium.org, qinmin@chromium.org
Hi, PTAL, thanks.
The CQ bit was checked by xingliu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?)) linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; builder either lacks capacity or does not exist (misspelled?))
https://codereview.chromium.org/2874603002/diff/20001/content/browser/downloa... File content/browser/download/download_stats.cc (right): https://codereview.chromium.org/2874603002/diff/20001/content/browser/downloa... content/browser/download/download_stats.cc:841: int time_ratio_percentage = This doesn't seem right. When we say that parallel download improves the download time, shouldn't we compare actual download time with the theoretical download time without parallel requests? So it should be total_time/(total_size/bandwidth_without_parallel_streams)?
Thanks for the review. https://codereview.chromium.org/2874603002/diff/20001/content/browser/downloa... File content/browser/download/download_stats.cc (right): https://codereview.chromium.org/2874603002/diff/20001/content/browser/downloa... content/browser/download/download_stats.cc:841: int time_ratio_percentage = On 2017/05/10 18:46:47, qinmin wrote: > This doesn't seem right. > When we say that parallel download improves the download time, shouldn't we > compare actual download time with the theoretical download time without parallel > requests? > > So it should be total_time/(total_size/bandwidth_without_parallel_streams)? Done. Makes sense.
xingliu@chromium.org changed reviewers: + isherman@chromium.org
+isherman for histogram review, thanks.
Metrics LGTM
lgtm
The CQ bit was checked by xingliu@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...) mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_...)
The CQ bit was checked by xingliu@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from qinmin@chromium.org, isherman@chromium.org Link to the patchset: https://codereview.chromium.org/2874603002/#ps60001 (title: "Rebased.")
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by xingliu@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by xingliu@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1494712755441330,
"parent_rev": "08b54572d6f67b8a90cf28e2fca44f19071993d8", "commit_rev":
"a672d19ad76be908d9339fe093f88fd1e66b99f8"}
Message was sent while issue was closed.
Description was changed from ========== Add the metric to record percentage improvement for parallel download. Records the ratio of bandwidth of parallel streams to the bandwidth of single stream, and the ratio of total time to download a file with parallel streams bandwidth to the actual total time. BUG=720168 ========== to ========== Add the metric to record percentage improvement for parallel download. Records the ratio of bandwidth of parallel streams to the bandwidth of single stream, and the ratio of total time to download a file with parallel streams bandwidth to the actual total time. BUG=720168 Review-Url: https://codereview.chromium.org/2874603002 Cr-Commit-Position: refs/heads/master@{#471608} Committed: https://chromium.googlesource.com/chromium/src/+/a672d19ad76be908d9339fe093f8... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/a672d19ad76be908d9339fe093f8... |
