Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Issue 1889873005: Record Lo-Fi NQE prediction accuracy at different intervals (Closed)

Created:
4 years, 8 months ago by tbansal1
Modified:
4 years, 8 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Record Lo-Fi NQE prediction accuracy at different intervals When a main frame request is seen, the predicted network quality is stored locally in a variable. After t seconds, observed network quality is computed from all samples taken in last t seconds. Accuracy is recorded based on comparison between the predicted quality and the observed quality. Currently, t is set to 15, 30 and 60 seconds. The new histogram is of the format "DataReductionProxy.LoFi.Accuracy.[0-9]*.[ConnectionType]" The older histogram has been obsoleted. BUG=603776 Committed: https://crrev.com/27cdb3ee8a113505f55cde29bb6a6a115d34a815 Cr-Commit-Position: refs/heads/master@{#388345}

Patch Set 1 : #

Total comments: 14

Patch Set 2 : rebased #

Patch Set 3 : megjablon comments #

Total comments: 20

Patch Set 4 : Addressed megjablon, asvitkine comments #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : addressed asvitkine comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+421 lines, -133 lines) Patch
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h View 1 2 3 4 5 8 chunks +35 lines, -7 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc View 1 2 3 4 5 12 chunks +128 lines, -60 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.h View 1 2 3 4 5 5 chunks +33 lines, -1 line 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_test_utils.cc View 1 2 3 4 5 5 chunks +41 lines, -3 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_config_unittest.cc View 1 2 3 11 chunks +137 lines, -54 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_io_data.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_network_delegate_unittest.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_test_utils.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 chunks +34 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (22 generated)
tbansal1
megjablon: ptal at * asvitkine: ptal at histograms.xml.
4 years, 8 months ago (2016-04-15 01:19:02 UTC) #11
megjablon
https://chromiumcodereview.appspot.com/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://chromiumcodereview.appspot.com/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode114 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:114: base::HistogramBase* GetEnumeratedHistogram( #include "base/metrics/histogram_base.h" https://chromiumcodereview.appspot.com/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode494 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:494: if (params::IsIncludedInLoFiEnabledFieldTrial() && ...
4 years, 8 months ago (2016-04-16 00:09:35 UTC) #15
tbansal1
megjablon: ptal. Thanks. https://codereview.chromium.org/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://codereview.chromium.org/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode114 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:114: base::HistogramBase* GetEnumeratedHistogram( On 2016/04/16 00:09:34, megjablon ...
4 years, 8 months ago (2016-04-16 01:04:59 UTC) #16
megjablon
https://chromiumcodereview.appspot.com/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (left): https://chromiumcodereview.appspot.com/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#oldcode88 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:88: // validate calls on the correct thread. |event_creator| is ...
4 years, 8 months ago (2016-04-18 18:58:50 UTC) #17
Alexei Svitkine (slow)
https://codereview.chromium.org/1889873005/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc (right): https://codereview.chromium.org/1889873005/diff/160001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc#newcode103 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.cc:103: default: Nit: Omit the default cases and handle all ...
4 years, 8 months ago (2016-04-18 20:35:09 UTC) #18
tbansal1
megjablon, asvitkine: PTAL. Thanks! https://codereview.chromium.org/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (left): https://codereview.chromium.org/1889873005/diff/120001/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#oldcode88 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:88: // validate calls on the ...
4 years, 8 months ago (2016-04-18 22:37:35 UTC) #21
Alexei Svitkine (slow)
lgtm % remaining comments https://codereview.chromium.org/1889873005/diff/190011/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1889873005/diff/190011/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode213 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:213: virtual const std::vector<base::TimeDelta>& LofiAccuracyRecordingIntervals() Nit: ...
4 years, 8 months ago (2016-04-19 13:54:42 UTC) #23
tbansal1
megjablon: ptal . thanks! https://codereview.chromium.org/1889873005/diff/190011/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1889873005/diff/190011/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode213 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:213: virtual const std::vector<base::TimeDelta>& LofiAccuracyRecordingIntervals() On ...
4 years, 8 months ago (2016-04-19 16:45:33 UTC) #24
tbansal1
megjablon: ptal . thanks! https://codereview.chromium.org/1889873005/diff/190011/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h File components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h (right): https://codereview.chromium.org/1889873005/diff/190011/components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h#newcode213 components/data_reduction_proxy/core/browser/data_reduction_proxy_config.h:213: virtual const std::vector<base::TimeDelta>& LofiAccuracyRecordingIntervals() On ...
4 years, 8 months ago (2016-04-19 16:45:33 UTC) #25
megjablon
lgtm
4 years, 8 months ago (2016-04-19 18:23:26 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889873005/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889873005/270001
4 years, 8 months ago (2016-04-19 20:32:05 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/56493)
4 years, 8 months ago (2016-04-19 20:56:56 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1889873005/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1889873005/270001
4 years, 8 months ago (2016-04-19 23:08:41 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:270001)
4 years, 8 months ago (2016-04-19 23:13:38 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:17:41 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/27cdb3ee8a113505f55cde29bb6a6a115d34a815
Cr-Commit-Position: refs/heads/master@{#388345}

Powered by Google App Engine
This is Rietveld 408576698