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

Issue 399893003: Add "description" attribute to Value. (Closed)

Created:
6 years, 5 months ago by qyearsley
Modified:
6 years, 5 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org, tonyg
Project:
chromium
Visibility:
Public.

Description

Add "description" attribute to Value. BUG=395787 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285512

Patch Set 1 #

Patch Set 2 : Include description in dict returned from value.AsDict, update test. #

Total comments: 1

Patch Set 3 : Default value True->None; add testAsDictWithoutDescription. #

Total comments: 2

Patch Set 4 : Update comment. #

Total comments: 1

Patch Set 5 : Add "description" to FailureValue; edit docstring for "description". #

Total comments: 4

Patch Set 6 : Edited docstrings. #

Patch Set 7 : Fix calls to Value constructor so that the tests pass. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -46 lines) Patch
M tools/telemetry/telemetry/value/__init__.py View 1 2 3 4 5 4 chunks +18 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/value/failure.py View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/value/histogram.py View 1 2 2 chunks +11 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/value/list_of_scalar_values.py View 2 chunks +9 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/value/list_of_string_values.py View 2 chunks +8 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/value/scalar.py View 2 chunks +8 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/value/skip.py View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M tools/telemetry/telemetry/value/string.py View 2 chunks +8 lines, -5 lines 0 comments Download
M tools/telemetry/telemetry/value/value_unittest.py View 1 2 3 4 5 6 2 chunks +23 lines, -12 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
qyearsley
This is meant to be a preliminary CL before descriptions are added to individual values ...
6 years, 5 months ago (2014-07-17 18:24:29 UTC) #1
eakuefner
+me, +nednguyen
6 years, 5 months ago (2014-07-21 18:36:27 UTC) #2
eakuefner
On 2014/07/17 18:24:29, qyearsley wrote: > This is meant to be a preliminary CL before ...
6 years, 5 months ago (2014-07-21 19:27:34 UTC) #3
eakuefner
https://codereview.chromium.org/399893003/diff/20001/tools/telemetry/telemetry/value/histogram.py File tools/telemetry/telemetry/value/histogram.py (right): https://codereview.chromium.org/399893003/diff/20001/tools/telemetry/telemetry/value/histogram.py#newcode31 tools/telemetry/telemetry/value/histogram.py:31: description=True): I think this is probably the right approach, ...
6 years, 5 months ago (2014-07-21 19:27:50 UTC) #4
qyearsley
On 2014/07/21 19:27:50, eakuefner wrote: > https://codereview.chromium.org/399893003/diff/20001/tools/telemetry/telemetry/value/histogram.py > File tools/telemetry/telemetry/value/histogram.py (right): > > https://codereview.chromium.org/399893003/diff/20001/tools/telemetry/telemetry/value/histogram.py#newcode31 > ...
6 years, 5 months ago (2014-07-21 20:10:46 UTC) #5
nednguyen
Do you have a bug opened for migration the data from trace-info.json to Value? If ...
6 years, 5 months ago (2014-07-21 20:26:53 UTC) #6
qyearsley
On 2014/07/21 20:26:53, nednguyen wrote: > Do you have a bug opened for migration the ...
6 years, 5 months ago (2014-07-21 21:31:58 UTC) #7
qyearsley
https://codereview.chromium.org/399893003/diff/40001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/399893003/diff/40001/tools/telemetry/telemetry/value/__init__.py#newcode52 tools/telemetry/telemetry/value/__init__.py:52: description: An string describing what was measured. On 2014/07/21 ...
6 years, 5 months ago (2014-07-21 21:32:16 UTC) #8
eakuefner
On 2014/07/21 21:32:16, qyearsley wrote: > Updated comment. Where is FailureValue? I can't seem to ...
6 years, 5 months ago (2014-07-21 21:38:41 UTC) #9
eakuefner
On 2014/07/21 21:38:41, eakuefner wrote: > On 2014/07/21 21:32:16, qyearsley wrote: > > Updated comment. ...
6 years, 5 months ago (2014-07-21 22:41:21 UTC) #10
chrishenry
I'm going to land a partial change first (adding FailureValue without wiring it - https://codereview.chromium.org/405283002/). ...
6 years, 5 months ago (2014-07-21 23:56:51 UTC) #11
qyearsley
On 2014/07/21 23:56:51, chrishenry wrote: > I'm going to land a partial change first (adding ...
6 years, 5 months ago (2014-07-22 00:01:12 UTC) #12
chrishenry
On 2014/07/22 00:01:12, qyearsley wrote: > On 2014/07/21 23:56:51, chrishenry wrote: > > I'm going ...
6 years, 5 months ago (2014-07-23 01:00:23 UTC) #13
nednguyen
lgtm https://codereview.chromium.org/399893003/diff/60001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/399893003/diff/60001/tools/telemetry/telemetry/value/__init__.py#newcode53 tools/telemetry/telemetry/value/__init__.py:53: no description. Value system will not just be ...
6 years, 5 months ago (2014-07-23 21:38:16 UTC) #14
qyearsley
On 2014/07/23 21:38:16, nednguyen wrote: > lgtm > > https://codereview.chromium.org/399893003/diff/60001/tools/telemetry/telemetry/value/__init__.py > File tools/telemetry/telemetry/value/__init__.py (right): > ...
6 years, 5 months ago (2014-07-23 21:59:35 UTC) #15
chrishenry
Quick dumb questions: What happen if a particular description changes? Would perf dashboard picks up ...
6 years, 5 months ago (2014-07-23 22:23:54 UTC) #16
eakuefner
On 2014/07/23 22:23:54, chrishenry wrote: > p.s. Ethan, which design doc has the value metadata ...
6 years, 5 months ago (2014-07-23 22:25:25 UTC) #17
qyearsley
On 2014/07/23 22:25:25, eakuefner wrote: > On 2014/07/23 22:23:54, chrishenry wrote: > > p.s. Ethan, ...
6 years, 5 months ago (2014-07-23 22:40:18 UTC) #18
nduca
lgtm with nits. tldr, dont make stupid doc strings https://codereview.chromium.org/399893003/diff/80001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/399893003/diff/80001/tools/telemetry/telemetry/value/__init__.py#newcode51 tools/telemetry/telemetry/value/__init__.py:51: ...
6 years, 5 months ago (2014-07-24 17:41:50 UTC) #19
qyearsley
https://codereview.chromium.org/399893003/diff/80001/tools/telemetry/telemetry/value/__init__.py File tools/telemetry/telemetry/value/__init__.py (right): https://codereview.chromium.org/399893003/diff/80001/tools/telemetry/telemetry/value/__init__.py#newcode51 tools/telemetry/telemetry/value/__init__.py:51: important: A boolean. On 2014/07/24 17:41:50, nduca wrote: > ...
6 years, 5 months ago (2014-07-24 17:51:34 UTC) #20
qyearsley
The CQ bit was checked by qyearsley@chromium.org
6 years, 5 months ago (2014-07-24 17:51:40 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qyearsley@chromium.org/399893003/100001
6 years, 5 months ago (2014-07-24 17:53:29 UTC) #22
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 20:58:42 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-24 21:37:20 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel_swarming/builds/2066)
6 years, 5 months ago (2014-07-24 21:37:22 UTC) #25
qyearsley
The CQ bit was checked by qyearsley@chromium.org
6 years, 5 months ago (2014-07-24 23:52:16 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/qyearsley@chromium.org/399893003/120001
6 years, 5 months ago (2014-07-24 23:55:53 UTC) #27
commit-bot: I haz the power
6 years, 5 months ago (2014-07-25 07:03:52 UTC) #28
Message was sent while issue was closed.
Change committed as 285512

Powered by Google App Engine
This is Rietveld 408576698