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

Issue 2107243003: NQE: Record correlation metric in UMA (Closed)

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

Description

NQE: Record correlation metric in UMA The 32-bit metric is recorded as a sparse histogram. Each sample contains information on transport RTT, HTTP RTT, bandwidth, and time taken to download the resource. Each metric occupies 7 bits with first 4 bits left unset. BUG=624597 Committed: https://crrev.com/07a33c8ce604eeec637abe035908a19f1772d797 Cr-Commit-Position: refs/heads/master@{#407072}

Patch Set 1 #

Total comments: 29

Patch Set 2 : Addressed kundaji's comments #

Total comments: 24

Patch Set 3 : Rebased #

Patch Set 4 : Addressed bengr comments #

Total comments: 2

Patch Set 5 : Rebased #

Patch Set 6 : Addressed bengr comments #

Patch Set 7 : Add resource size #

Total comments: 8

Patch Set 8 : Addressed Ilya's comments #

Total comments: 4

Patch Set 9 : Addressed Ilya's comments #

Patch Set 10 : Rebased #

Patch Set 11 : Added more details to histogram description #

Unified diffs Side-by-side diffs Delta from patch set Stats (+354 lines, -2 lines) Patch
M net/nqe/network_quality_estimator.h View 1 2 3 4 5 6 7 8 9 3 chunks +19 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 2 3 4 5 6 7 8 9 10 chunks +175 lines, -1 line 0 comments Download
M net/nqe/network_quality_estimator_unittest.cc View 1 2 3 4 5 6 7 8 9 4 chunks +146 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 7 8 9 10 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 46 (23 generated)
tbansal1
kundaji: ptal. Thanks.
4 years, 5 months ago (2016-06-30 00:50:29 UTC) #8
Not at Google. Contact bengr
https://codereview.chromium.org/2107243003/diff/60001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60001/net/nqe/network_quality_estimator.cc#newcode214 net/nqe/network_quality_estimator.cc:214: // then it will be rounded down. This is ...
4 years, 5 months ago (2016-06-30 17:49:45 UTC) #12
tbansal1
kundaji: ptal. Thanks. https://codereview.chromium.org/2107243003/diff/60001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60001/net/nqe/network_quality_estimator.cc#newcode214 net/nqe/network_quality_estimator.cc:214: // then it will be rounded ...
4 years, 5 months ago (2016-07-01 00:16:01 UTC) #13
Not at Google. Contact bengr
lgtm https://codereview.chromium.org/2107243003/diff/60001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60001/net/nqe/network_quality_estimator.cc#newcode645 net/nqe/network_quality_estimator.cc:645: if (base::RandDouble() >= correlation_logging_probability_) On 2016/07/01 00:16:00, tbansal1 ...
4 years, 5 months ago (2016-07-01 18:26:26 UTC) #15
tbansal1
https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc#newcode230 net/nqe/network_quality_estimator.cc:230: static const int32_t kLargestValuePossible = (1 << kBitsPerMetric) - ...
4 years, 5 months ago (2016-07-01 20:11:26 UTC) #16
tbansal1
4 years, 5 months ago (2016-07-01 20:11:33 UTC) #18
tbansal1
bengr: ptal. Thanks.
4 years, 5 months ago (2016-07-01 20:11:44 UTC) #19
bengr
https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc#newcode150 net/nqe/network_quality_estimator.cc:150: double GetDoubleValueForVariationParamWithDefaultValue( This really should live somewhere in the ...
4 years, 5 months ago (2016-07-08 16:49:53 UTC) #20
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc#newcode150 net/nqe/network_quality_estimator.cc:150: double GetDoubleValueForVariationParamWithDefaultValue( On 2016/07/08 16:49:52, bengr ...
4 years, 5 months ago (2016-07-08 17:45:51 UTC) #21
bengr
https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc#newcode223 net/nqe/network_quality_estimator.cc:223: int32_t FitInKBitsPerMetricBits(int32_t metric) { On 2016/07/08 17:45:51, tbansal1 wrote: ...
4 years, 5 months ago (2016-07-19 00:32:31 UTC) #22
tbansal1
bengr: ptal. Thanks. https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/60002/net/nqe/network_quality_estimator.cc#newcode223 net/nqe/network_quality_estimator.cc:223: int32_t FitInKBitsPerMetricBits(int32_t metric) { On 2016/07/19 ...
4 years, 5 months ago (2016-07-20 00:28:02 UTC) #23
bengr
lgtm
4 years, 5 months ago (2016-07-21 00:23:16 UTC) #24
tbansal1
isherman: Can you PTAL at network_quality_estimator.cc Lines 827 - 837 in the modified file. I ...
4 years, 5 months ago (2016-07-21 18:19:09 UTC) #27
Ilya Sherman
+Steve, who'll likely have some good input on recording correlatable metrics. FWIW, we've been talking ...
4 years, 5 months ago (2016-07-21 21:38:08 UTC) #29
tbansal1
On 2016/07/21 21:38:08, Ilya Sherman wrote: > +Steve, who'll likely have some good input on ...
4 years, 5 months ago (2016-07-21 22:42:51 UTC) #30
tbansal1
Ilya, PTAL https://codereview.chromium.org/2107243003/diff/190001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/190001/net/nqe/network_quality_estimator.cc#newcode247 net/nqe/network_quality_estimator.cc:247: // metrices in a single histogram sample, ...
4 years, 5 months ago (2016-07-21 22:42:54 UTC) #31
Ilya Sherman
On 2016/07/21 22:42:51, tbansal1 wrote: > On 2016/07/21 21:38:08, Ilya Sherman wrote: > > +Steve, ...
4 years, 5 months ago (2016-07-21 23:39:51 UTC) #32
Steven Holte
On 2016/07/21 22:42:51, tbansal1 wrote: > On 2016/07/21 21:38:08, Ilya Sherman wrote: > > +Steve, ...
4 years, 5 months ago (2016-07-21 23:40:58 UTC) #33
tbansal1
Ilya, PTAL. Thanks. https://codereview.chromium.org/2107243003/diff/210001/net/nqe/network_quality_estimator.cc File net/nqe/network_quality_estimator.cc (right): https://codereview.chromium.org/2107243003/diff/210001/net/nqe/network_quality_estimator.cc#newcode249 net/nqe/network_quality_estimator.cc:249: const int32_t kBitsPerMetric = 7; On ...
4 years, 5 months ago (2016-07-22 00:15:44 UTC) #34
Ilya Sherman
Metrics lgtm, thanks
4 years, 5 months ago (2016-07-22 00:24:56 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2107243003/270001
4 years, 5 months ago (2016-07-22 04:55:30 UTC) #42
commit-bot: I haz the power
Committed patchset #11 (id:270001)
4 years, 5 months ago (2016-07-22 05:19:13 UTC) #44
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 05:22:29 UTC) #46
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/07a33c8ce604eeec637abe035908a19f1772d797
Cr-Commit-Position: refs/heads/master@{#407072}

Powered by Google App Engine
This is Rietveld 408576698