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

Issue 183973020: [telemetry] Add ability to read data previously written to HTML (Closed)

Created:
6 years, 9 months ago by nduca
Modified:
6 years, 9 months ago
Reviewers:
dtu, tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, telemetry+watch_chromium.org
Visibility:
Public.

Description

[telemetry] Add ability to read data previously written to HTML This lets telemetry read the data that was previously put into an html viewer file. BUG=340096 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255582

Patch Set 1 #

Total comments: 3

Patch Set 2 : HTMLParser-based #

Total comments: 1

Patch Set 3 : nitfix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -0 lines) Patch
M tools/telemetry/telemetry/web_components/viewer.py View 1 2 2 chunks +45 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/web_components/viewer_unittest.py View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
nduca
small one ptal
6 years, 9 months ago (2014-03-04 08:33:10 UTC) #1
tonyg
https://codereview.chromium.org/183973020/diff/1/tools/telemetry/telemetry/web_components/viewer.py File tools/telemetry/telemetry/web_components/viewer.py (right): https://codereview.chromium.org/183973020/diff/1/tools/telemetry/telemetry/web_components/viewer.py#newcode72 tools/telemetry/telemetry/web_components/viewer.py:72: def ReadDataObjectFromViewerFile(f): We do the same thing in https://code.google.com/p/chromium/codesearch#chromium/src/tools/telemetry/telemetry/page/html_page_measurement_results.py&q=html_page_&sq=package:chromium ...
6 years, 9 months ago (2014-03-05 03:33:48 UTC) #2
nduca
I'd like to keep it simple basically. This i know works.
6 years, 9 months ago (2014-03-05 19:28:45 UTC) #3
nduca
(i'll make the change haha)
6 years, 9 months ago (2014-03-05 19:32:00 UTC) #4
nduca
Oh, I remember now: the existing one requires you read the results file into memory ...
6 years, 9 months ago (2014-03-06 02:07:57 UTC) #5
dtu
https://codereview.chromium.org/183973020/diff/1/tools/telemetry/telemetry/web_components/viewer.py File tools/telemetry/telemetry/web_components/viewer.py (right): https://codereview.chromium.org/183973020/diff/1/tools/telemetry/telemetry/web_components/viewer.py#newcode59 tools/telemetry/telemetry/web_components/viewer.py:59: output_file.write('%s\n' % _BEGIN_VIEWER_DATA_MARKER) Alternatively, print >> output_file, _BEGIN_VIEWER_DATA_MARKER https://codereview.chromium.org/183973020/diff/1/tools/telemetry/telemetry/web_components/viewer.py#newcode101 ...
6 years, 9 months ago (2014-03-06 21:50:57 UTC) #6
dtu
On 2014/03/06 21:50:57, dtu wrote: > https://codereview.chromium.org/183973020/diff/1/tools/telemetry/telemetry/web_components/viewer.py > File tools/telemetry/telemetry/web_components/viewer.py (right): > > https://codereview.chromium.org/183973020/diff/1/tools/telemetry/telemetry/web_components/viewer.py#newcode59 > ...
6 years, 9 months ago (2014-03-06 22:14:02 UTC) #7
nduca
fixed, ptal
6 years, 9 months ago (2014-03-06 22:33:18 UTC) #8
dtu
Ok, sorry, I don't know if that was any better. lgtm https://codereview.chromium.org/183973020/diff/20001/tools/telemetry/telemetry/web_components/viewer.py File tools/telemetry/telemetry/web_components/viewer.py (right): ...
6 years, 9 months ago (2014-03-06 23:14:50 UTC) #9
nduca
The CQ bit was checked by nduca@chromium.org
6 years, 9 months ago (2014-03-06 23:50:23 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/183973020/40001
6 years, 9 months ago (2014-03-06 23:59:06 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 06:23:11 UTC) #12
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) telemetry_perf_unittests, telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=233660
6 years, 9 months ago (2014-03-07 06:23:11 UTC) #13
nduca
The CQ bit was checked by nduca@chromium.org
6 years, 9 months ago (2014-03-07 08:35:45 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/183973020/40001
6 years, 9 months ago (2014-03-07 08:40:09 UTC) #15
commit-bot: I haz the power
6 years, 9 months ago (2014-03-07 11:29:49 UTC) #16
Message was sent while issue was closed.
Change committed as 255582

Powered by Google App Engine
This is Rietveld 408576698