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

Issue 169283004: Introduce telemetry.web_components and a simple component-based Results object (Closed)

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

Description

Introduce telemetry.web_components and a simple component-based Results object The main result of this patch is that cd $TELEMETRY && python -m telemetry.web_components.results_viewer will produce an HTML file that has the same standalone-and-emailable properties as telemetry's existing HTML results object, but that is built out of tvcm components, trace-viewer's component model. Followup patches will expand out results_viewer.js with features to actually be a viable replacement for Telemetry's existing results.html. Importantly, with this checkin, telemetry's existing ./run_tests will also run any javascript unittests and the presubmit will lint the same js and css files. BUG=340096 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253521

Patch Set 1 #

Patch Set 2 : Added HTML output, ready for review #

Total comments: 18

Patch Set 3 : feedback applied #

Total comments: 1

Patch Set 4 : nitfix #

Patch Set 5 : Disable problematic test. Will fix on followup #

Patch Set 6 : Renable web_components_unittest #

Patch Set 7 : nop #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+332 lines, -0 lines) Patch
M tools/telemetry/PRESUBMIT.py View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
A tools/telemetry/run_web_components_dev_server View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/__init__.py View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/dev_server.py View 1 2 1 chunk +23 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/results_viewer.js View 1 2 1 chunk +39 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/results_viewer.py View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/results_viewer_unittest.js View 1 2 1 chunk +16 lines, -0 lines 0 comments Download
A + tools/telemetry/telemetry/web_components/tvcm_stub.py View 1 2 1 chunk +7 lines, -0 lines 1 comment Download
A tools/telemetry/telemetry/web_components/viewer.py View 1 2 1 chunk +63 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/viewer_bootstrap.js View 1 2 1 chunk +18 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/viewer_unittest.py View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/viewer_unittest_data.js View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/web_components_project.py View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_components/web_components_unittest.py View 1 2 5 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (0 generated)
nduca
ptal
6 years, 10 months ago (2014-02-18 09:46:00 UTC) #1
nduca
6 years, 10 months ago (2014-02-18 09:46:13 UTC) #2
tonyg
This is awesome! All my comments are mere style nits. LMK when this is ready ...
6 years, 10 months ago (2014-02-19 16:44:32 UTC) #3
slamm
Acronyms are easier to read in camelCase if you treat them as words. https://codereview.chromium.org/169283004/diff/30001/tools/telemetry/telemetry/components/results_viewer.py File ...
6 years, 10 months ago (2014-02-19 17:10:51 UTC) #4
nduca
Thanks all. All feedback applied, thanks much. Ready to land when y'all are happy. The ...
6 years, 10 months ago (2014-02-20 06:35:06 UTC) #5
slamm
lgtm
6 years, 10 months ago (2014-02-20 16:44:11 UTC) #6
tonyg
lgtm https://codereview.chromium.org/169283004/diff/170001/tools/telemetry/telemetry/web_components/results_viewer.py File tools/telemetry/telemetry/web_components/results_viewer.py (right): https://codereview.chromium.org/169283004/diff/170001/tools/telemetry/telemetry/web_components/results_viewer.py#newcode28 tools/telemetry/telemetry/web_components/results_viewer.py:28: import sys Why not at the top of ...
6 years, 10 months ago (2014-02-20 17:18:17 UTC) #7
nduca
The CQ bit was checked by nduca@chromium.org
6 years, 10 months ago (2014-02-21 04:54:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/169283004/230001
6 years, 10 months ago (2014-02-21 04:54:38 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-21 06:33:58 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_rel for step(s) telemetry_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&number=231393
6 years, 10 months ago (2014-02-21 06:33:58 UTC) #11
nduca
The CQ bit was checked by nduca@chromium.org
6 years, 10 months ago (2014-02-21 23:05:34 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/169283004/670002
6 years, 10 months ago (2014-02-21 23:07:04 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-22 00:22:19 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=268255
6 years, 10 months ago (2014-02-22 00:22:19 UTC) #15
nduca
The CQ bit was checked by nduca@chromium.org
6 years, 10 months ago (2014-02-26 02:07:29 UTC) #16
nduca
The CQ bit was unchecked by nduca@chromium.org
6 years, 10 months ago (2014-02-26 02:54:00 UTC) #17
nduca
The CQ bit was checked by nduca@chromium.org
6 years, 10 months ago (2014-02-26 10:42:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/169283004/970001
6 years, 10 months ago (2014-02-26 10:43:52 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-26 10:50:07 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel
6 years, 10 months ago (2014-02-26 10:50:08 UTC) #21
nduca
The CQ bit was checked by nduca@chromium.org
6 years, 10 months ago (2014-02-26 11:42:15 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/169283004/970001
6 years, 10 months ago (2014-02-26 11:44:09 UTC) #23
commit-bot: I haz the power
Change committed as 253521
6 years, 10 months ago (2014-02-26 18:40:10 UTC) #24
achuithb
Nat: I believe this is causing failures on cros. http://chromegw.corp.google.com/i/chromium.fyi/builders/Chromium%20Cros64%20Perf/builds/4839 I'd like to revert this ...
6 years, 10 months ago (2014-02-26 22:26:26 UTC) #25
achuithb
6 years, 10 months ago (2014-02-26 22:46:43 UTC) #26
Message was sent while issue was closed.
Reverted here: https://codereview.chromium.org/182333004/

Sorry for the inconvenience. I think this ought to pass with adding the tvcm
path to bootstrap_deps.

Powered by Google App Engine
This is Rietveld 408576698