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

Issue 234473002: Support for string value (Closed)

Created:
6 years, 8 months ago by Satyanarayana N H Manyam
Modified:
6 years, 4 months ago
Reviewers:
nduca
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Support for string value BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266175

Patch Set 1 #

Patch Set 2 : Updating files #

Patch Set 3 : Implemeting String Value, take 2. #

Patch Set 4 : Reverting some changes #

Patch Set 5 : Fix some lint errors #

Patch Set 6 : Fixing comments #

Total comments: 4

Patch Set 7 : Branching the test files #

Patch Set 8 : Fixing the tests #

Patch Set 9 : Addressing comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -72 lines) Patch
A + tools/telemetry/telemetry/value/list_of_string_values.py View 1 2 3 4 5 6 7 8 6 chunks +9 lines, -14 lines 0 comments Download
A + tools/telemetry/telemetry/value/list_of_string_values_unittest.py View 1 2 3 4 5 6 7 2 chunks +29 lines, -29 lines 0 comments Download
A + tools/telemetry/telemetry/value/string.py View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -12 lines 0 comments Download
A + tools/telemetry/telemetry/value/string_unittest.py View 1 2 3 4 5 6 7 2 chunks +17 lines, -17 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
nduca
looks solid, go for tests. make sure to add string cases to each of the ...
6 years, 8 months ago (2014-04-11 23:16:12 UTC) #1
nduca
this would be really cool to get landed. any progress on tests?
6 years, 8 months ago (2014-04-24 21:32:04 UTC) #2
chromium-reviews
Sorry for the delay, will send the updated patch with the tests. Satya On Thu, ...
6 years, 8 months ago (2014-04-24 21:33:19 UTC) #3
chromium-reviews
How to just run a particular unittest locally. Satya On Thu, Apr 24, 2014 at ...
6 years, 8 months ago (2014-04-25 00:30:25 UTC) #4
dtu
On 2014/04/25 00:30:25, chromium-reviews_chromium.org wrote: > How to just run a particular unittest locally. > ...
6 years, 8 months ago (2014-04-25 00:41:40 UTC) #5
nduca
./tools/telemetry/run_tests <some part of test name> That'll run any test that matches the passed stirng ...
6 years, 8 months ago (2014-04-25 00:41:49 UTC) #6
Satyanarayana N H Manyam
https://codereview.chromium.org/234473002/diff/100001/tools/telemetry/telemetry/value/list_of_string_values.py File tools/telemetry/telemetry/value/list_of_string_values.py (right): https://codereview.chromium.org/234473002/diff/100001/tools/telemetry/telemetry/value/list_of_string_values.py#newcode42 tools/telemetry/telemetry/value/list_of_string_values.py:42: return self.values[0] On 2014/04/11 23:16:13, nduca wrote: > i ...
6 years, 8 months ago (2014-04-25 01:22:31 UTC) #7
nduca
lgtm
6 years, 8 months ago (2014-04-25 01:29:18 UTC) #8
Satyanarayana N H Manyam
The CQ bit was checked by satyanarayana@google.com
6 years, 8 months ago (2014-04-25 01:41:54 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/satyanarayana@google.com/234473002/160001
6 years, 8 months ago (2014-04-25 02:03:30 UTC) #10
commit-bot: I haz the power
Change committed as 266175
6 years, 8 months ago (2014-04-25 09:27:13 UTC) #11
chromium-reviews
6 years, 4 months ago (2014-08-04 21:37:30 UTC) #12
A telemetry values question, 3 months later: What do we gain from having 
separate StringValues and ScalarValues. Could we just support strings in 
ScalarValues?

Most of the code is shared between these classes. It looks like the only 
difference is the 'assert isinstance(v, numbers.Number)' versus 'assert 
isinstance(v, basestring)' and the GetRepresentativeNumber in the 
ListOf*Values classes. The only place I see StringValue being used right 
now is in page_runner unittests and TimelineBasedMeasurement.

- Ari

On Friday, April 25, 2014 2:27:14 AM UTC-7, commi...@chromium.org wrote:
>
> Change committed as 266175 
>
> https://codereview.chromium.org/234473002/ 
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698