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

Issue 388653002: Telemetry Pages support AsDict() (Closed)

Created:
6 years, 5 months ago by eakuefner
Modified:
6 years, 5 months ago
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Telemetry Pages support AsDict() We will be using the AsDict() call to support JSON output of Telemetry results. This CL adds the ability to output the important information associated with a page to the Telemetry Page class. BUG=375541 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282776

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Tony's Comments #

Total comments: 6

Patch Set 3 : Address Nat & Tony's comments #

Total comments: 1

Patch Set 4 : Address Tony's comments #

Patch Set 5 : Name 'name' parameter in page_unittest #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -3 lines) Patch
M tools/telemetry/telemetry/page/page.py View 1 1 chunk +10 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/page/page_unittest.py View 1 2 3 4 1 chunk +20 lines, -3 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
eakuefner
6 years, 5 months ago (2014-07-10 22:28:21 UTC) #1
qyearsley
On 2014/07/10 22:28:21, eakuefner wrote: LGTM. The variable d could also be called page_dict or ...
6 years, 5 months ago (2014-07-10 22:53:15 UTC) #2
eakuefner
The CQ bit was checked by eakuefner@chromium.org
6 years, 5 months ago (2014-07-11 01:34:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eakuefner@chromium.org/388653002/1
6 years, 5 months ago (2014-07-11 01:38:20 UTC) #4
tonyg
https://codereview.chromium.org/388653002/diff/1/tools/telemetry/telemetry/page/page.py File tools/telemetry/telemetry/page/page.py (right): https://codereview.chromium.org/388653002/diff/1/tools/telemetry/telemetry/page/page.py#newcode60 tools/telemetry/telemetry/page/page.py:60: def AsDict(self): This seems really straightforward to unittest. https://codereview.chromium.org/388653002/diff/1/tools/telemetry/telemetry/page/page.py#newcode66 ...
6 years, 5 months ago (2014-07-11 02:01:37 UTC) #5
eakuefner
The CQ bit was unchecked by eakuefner@chromium.org
6 years, 5 months ago (2014-07-11 02:02:10 UTC) #6
eakuefner
The CQ bit was checked by eakuefner@chromium.org
6 years, 5 months ago (2014-07-11 02:40:10 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eakuefner@chromium.org/388653002/10001
6 years, 5 months ago (2014-07-11 02:41:13 UTC) #8
tonyg
https://codereview.chromium.org/388653002/diff/10001/tools/telemetry/telemetry/page/page_unittest.py File tools/telemetry/telemetry/page/page_unittest.py (right): https://codereview.chromium.org/388653002/diff/10001/tools/telemetry/telemetry/page/page_unittest.py#newcode127 tools/telemetry/telemetry/page/page_unittest.py:127: # This should not throw an exception This comment ...
6 years, 5 months ago (2014-07-11 03:08:31 UTC) #9
nduca
The CQ bit was unchecked by nduca@chromium.org
6 years, 5 months ago (2014-07-11 04:01:56 UTC) #10
nduca
please wait for lgtm from tonyg and i please
6 years, 5 months ago (2014-07-11 04:02:13 UTC) #11
nduca
https://codereview.chromium.org/388653002/diff/10001/tools/telemetry/telemetry/page/page_unittest.py File tools/telemetry/telemetry/page/page_unittest.py (right): https://codereview.chromium.org/388653002/diff/10001/tools/telemetry/telemetry/page/page_unittest.py#newcode125 tools/telemetry/telemetry/page/page_unittest.py:125: p = page.Page('http://google.com', name='Google') you need two tests... one ...
6 years, 5 months ago (2014-07-11 04:03:04 UTC) #12
tonyg
On 2014/07/11 04:02:13, nduca wrote: > please wait for lgtm from tonyg and i please ...
6 years, 5 months ago (2014-07-11 15:02:18 UTC) #13
eakuefner
https://codereview.chromium.org/388653002/diff/10001/tools/telemetry/telemetry/page/page_unittest.py File tools/telemetry/telemetry/page/page_unittest.py (right): https://codereview.chromium.org/388653002/diff/10001/tools/telemetry/telemetry/page/page_unittest.py#newcode125 tools/telemetry/telemetry/page/page_unittest.py:125: p = page.Page('http://google.com', name='Google') On 2014/07/11 04:03:04, nduca wrote: ...
6 years, 5 months ago (2014-07-11 16:12:12 UTC) #14
tonyg
https://codereview.chromium.org/388653002/diff/30001/tools/telemetry/telemetry/page/page_unittest.py File tools/telemetry/telemetry/page/page_unittest.py (right): https://codereview.chromium.org/388653002/diff/30001/tools/telemetry/telemetry/page/page_unittest.py#newcode124 tools/telemetry/telemetry/page/page_unittest.py:124: def testAsDictDoesNotInsertName(self): Sorry, to belabor, but I think the ...
6 years, 5 months ago (2014-07-11 17:18:24 UTC) #15
eakuefner
On 2014/07/11 17:18:24, tonyg wrote: > WDYT? nduca@ has given me feedback on a different ...
6 years, 5 months ago (2014-07-11 17:32:41 UTC) #16
tonyg
On 2014/07/11 17:32:41, eakuefner wrote: > On 2014/07/11 17:18:24, tonyg wrote: > > WDYT? > ...
6 years, 5 months ago (2014-07-11 17:58:51 UTC) #17
eakuefner-google (do not use)
On 2014/07/11 17:58:51, tonyg wrote: > I'll give an lgtm in advance of whichever way ...
6 years, 5 months ago (2014-07-11 18:06:20 UTC) #18
nduca
lgtm
6 years, 5 months ago (2014-07-11 18:56:50 UTC) #19
eakuefner-google (do not use)
The CQ bit was checked by eakuefner@google.com
6 years, 5 months ago (2014-07-11 19:53:04 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eakuefner@chromium.org/388653002/50001
6 years, 5 months ago (2014-07-11 19:54:01 UTC) #21
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: ios_dbg_simulator on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 21:15:26 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-11 21:45:57 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_rel/builds/50851)
6 years, 5 months ago (2014-07-11 21:45:58 UTC) #24
eakuefner
The CQ bit was checked by eakuefner@chromium.org
6 years, 5 months ago (2014-07-11 23:33:56 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eakuefner@chromium.org/388653002/70001
6 years, 5 months ago (2014-07-11 23:34:29 UTC) #26
commit-bot: I haz the power
6 years, 5 months ago (2014-07-12 01:57:28 UTC) #27
Message was sent while issue was closed.
Change committed as 282776

Powered by Google App Engine
This is Rietveld 408576698