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

Issue 475503004: Support None value for telemetry values. (Closed)

Created:
6 years, 4 months ago by ariblue
Modified:
6 years, 4 months ago
Reviewers:
nednguyen, nduca, chrishenry
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Support None value for the following telemetry values: scalar, string, list_of_scalars, list_of_strings See https://docs.google.com/a/google.com/document/d/1vzmYzpKK5ImV-ItSE9j2TpC2o0BLcKGaXvsnoUeBCno/ for more of the motivation behind this. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290675

Patch Set 1 #

Patch Set 2 : #

Total comments: 33

Patch Set 3 : address comments #

Patch Set 4 : split out smoothness/rendering_stats changes #

Total comments: 6

Patch Set 5 : address comments #

Total comments: 4

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+364 lines, -82 lines) Patch
M tools/telemetry/telemetry/value/list_of_scalar_values.py View 1 2 3 4 5 4 chunks +36 lines, -23 lines 0 comments Download
M tools/telemetry/telemetry/value/list_of_scalar_values_unittest.py View 1 5 chunks +60 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/value/list_of_string_values.py View 1 2 3 4 5 4 chunks +35 lines, -23 lines 0 comments Download
M tools/telemetry/telemetry/value/list_of_string_values_unittest.py View 1 5 chunks +59 lines, -4 lines 0 comments Download
A tools/telemetry/telemetry/value/none_values.py View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/value/scalar.py View 1 2 3 4 5 4 chunks +26 lines, -13 lines 0 comments Download
M tools/telemetry/telemetry/value/scalar_unittest.py View 1 5 chunks +49 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/value/string.py View 1 2 3 4 5 4 chunks +26 lines, -13 lines 0 comments Download
M tools/telemetry/telemetry/value/string_unittest.py View 1 5 chunks +49 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
ariblue
6 years, 4 months ago (2014-08-15 01:58:33 UTC) #1
chrishenry
I'd be more comfortable splitting the changes into 2 patches: changes to telemetry.values and changes ...
6 years, 4 months ago (2014-08-15 04:43:21 UTC) #2
nednguyen
Yes, let's put changes to web_perf/ to a different patch for easier reviewing. https://codereview.chromium.org/475503004/diff/100001/tools/telemetry/telemetry/value/list_of_string_values.py File ...
6 years, 4 months ago (2014-08-15 14:06:52 UTC) #3
nednguyen
lgtm https://codereview.chromium.org/475503004/diff/100001/tools/telemetry/telemetry/value/list_of_scalar_values.py File tools/telemetry/telemetry/value/list_of_scalar_values.py (right): https://codereview.chromium.org/475503004/diff/100001/tools/telemetry/telemetry/value/list_of_scalar_values.py#newcode23 tools/telemetry/telemetry/value/list_of_scalar_values.py:23: assert all(isinstance(v, numbers.Number) for v in values) assert ...
6 years, 4 months ago (2014-08-15 15:50:04 UTC) #4
nednguyen
6 years, 4 months ago (2014-08-15 15:50:10 UTC) #5
nednguyen
On 2014/08/15 15:50:10, nednguyen wrote: not lgtm yet. Sorry, I clicked the button by mistake ...
6 years, 4 months ago (2014-08-15 15:50:32 UTC) #6
chrishenry
https://codereview.chromium.org/475503004/diff/100001/tools/telemetry/telemetry/value/none_values.py File tools/telemetry/telemetry/value/none_values.py (right): https://codereview.chromium.org/475503004/diff/100001/tools/telemetry/telemetry/value/none_values.py#newcode17 tools/telemetry/telemetry/value/none_values.py:17: raise ValueMustHaveNoneValue() On 2014/08/15 15:50:04, nednguyen wrote: > On ...
6 years, 4 months ago (2014-08-15 16:32:40 UTC) #7
ariblue
I'll go ahead and split this up into two patches per Chris's recommendation in the ...
6 years, 4 months ago (2014-08-15 22:10:26 UTC) #8
nednguyen
LGTM https://codereview.chromium.org/475503004/diff/140001/tools/telemetry/telemetry/value/list_of_scalar_values.py File tools/telemetry/telemetry/value/list_of_scalar_values.py (right): https://codereview.chromium.org/475503004/diff/140001/tools/telemetry/telemetry/value/list_of_scalar_values.py#newcode23 tools/telemetry/telemetry/value/list_of_scalar_values.py:23: assert isinstance(values, list) Put this assertion first? https://codereview.chromium.org/475503004/diff/140001/tools/telemetry/telemetry/value/list_of_scalar_values_unittest.py ...
6 years, 4 months ago (2014-08-18 06:54:57 UTC) #9
ariblue
https://codereview.chromium.org/475503004/diff/140001/tools/telemetry/telemetry/value/list_of_scalar_values.py File tools/telemetry/telemetry/value/list_of_scalar_values.py (right): https://codereview.chromium.org/475503004/diff/140001/tools/telemetry/telemetry/value/list_of_scalar_values.py#newcode23 tools/telemetry/telemetry/value/list_of_scalar_values.py:23: assert isinstance(values, list) On 2014/08/18 06:54:57, nednguyen wrote: > ...
6 years, 4 months ago (2014-08-18 17:56:45 UTC) #10
chrishenry
lgtm https://codereview.chromium.org/475503004/diff/160001/tools/telemetry/telemetry/value/none_values.py File tools/telemetry/telemetry/value/none_values.py (right): https://codereview.chromium.org/475503004/diff/160001/tools/telemetry/telemetry/value/none_values.py#newcode6 tools/telemetry/telemetry/value/none_values.py:6: 'Merging values containing a None value results in ...
6 years, 4 months ago (2014-08-18 18:46:04 UTC) #11
ariblue
https://codereview.chromium.org/475503004/diff/160001/tools/telemetry/telemetry/value/none_values.py File tools/telemetry/telemetry/value/none_values.py (right): https://codereview.chromium.org/475503004/diff/160001/tools/telemetry/telemetry/value/none_values.py#newcode6 tools/telemetry/telemetry/value/none_values.py:6: 'Merging values containing a None value results in a ...
6 years, 4 months ago (2014-08-18 21:22:35 UTC) #12
ariblue
The CQ bit was checked by ariblue@google.com
6 years, 4 months ago (2014-08-19 19:58:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ariblue@google.com/475503004/180001
6 years, 4 months ago (2014-08-19 19:59:42 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_clang_dbg on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-19 21:32:45 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-19 22:08:53 UTC) #16
Message was sent while issue was closed.
Committed patchset #6 (180001) as 290675

Powered by Google App Engine
This is Rietveld 408576698