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

Issue 1964663003: [telemetry] Add Html2OutputFormatter for generating results2.html (Closed)

Created:
4 years, 7 months ago by benjhayden
Modified:
4 years, 7 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org, tracing-review_chromium.org
Base URL:
https://github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[telemetry] Add Html2OutputFormatter for generating results2.html Currently, HtmlOutputFormatter generates results.html using chart_json. TBMv2 is a completely new value system with a new json schema and affords a new UI. This CL adds a separate Html2OutputFormatter that generates a new results2.html using TBMv2 values, with a new UI. Existing benchmarks will continue to generate results(1).html; TBMv2 benchmarks will generate results2.html. The new UI uses the same value-set-view as trace viewer's Metrics side panel. The value-set-view is currently just a table, but will grow over time. We're still working on the value-set-view design doc: https://docs.google.com/document/d/1F7A0WRVC-aYHSz_rDnEBzDpjEDJl0_1Kjb9IKrpAhok/edit Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/a4e45c296b66f27ec47b649c7e455a943964ceef

Patch Set 1 : . #

Total comments: 1

Patch Set 2 : value-set-view #

Total comments: 3

Patch Set 3 : comments #

Patch Set 4 : fix #

Total comments: 31

Patch Set 5 : comments #

Total comments: 4

Patch Set 6 : comments #

Patch Set 7 : results2_template.html #

Patch Set 8 : TODO(#2344) #

Patch Set 9 : remove todo #

Total comments: 1

Patch Set 10 : debugging #

Patch Set 11 : debugging #

Patch Set 12 : debugging #

Patch Set 13 : Infinity, NaN, falsy scalar values #

Patch Set 14 : fix appending #

Patch Set 15 : Infinity/NaN in scalar.py -- this is why there should be only one implementation of Values #

Total comments: 5

Patch Set 16 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -10 lines) Patch
A telemetry/telemetry/internal/results/html2_output_formatter.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +67 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/results/page_test_results.py View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/results/results_options.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +10 lines, -4 lines 0 comments Download
M telemetry/telemetry/value/common_value_helpers.py View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +6 lines, -0 lines 0 comments Download
M telemetry/telemetry/value/scalar.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +9 lines, -1 line 0 comments Download
M telemetry/telemetry/web_perf/timeline_based_measurement.py View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tracing/tracing/metrics/system_health/responsiveness_metric.html View 1 2 3 4 5 6 7 8 9 11 1 chunk +2 lines, -1 line 0 comments Download
M tracing/tracing/metrics/value_set.html View 1 2 3 4 5 6 7 8 9 2 chunks +9 lines, -0 lines 0 comments Download
A tracing/tracing/results2_template.html View 1 2 3 4 5 6 1 chunk +26 lines, -0 lines 0 comments Download
M tracing/tracing/ui/value_set_view.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -2 lines 0 comments Download
M tracing/tracing/value/numeric.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +27 lines, -2 lines 0 comments Download

Messages

Total messages: 41 (13 generated)
benjhayden
4 years, 7 months ago (2016-05-09 22:16:01 UTC) #4
benjhayden
https://codereview.chromium.org/1964663003/diff/60001/tracing/tracing/results2html.html File tracing/tracing/results2html.html (right): https://codereview.chromium.org/1964663003/diff/60001/tracing/tracing/results2html.html#newcode17 tracing/tracing/results2html.html:17: // TODO visualize values using results-table We don't yet ...
4 years, 7 months ago (2016-05-09 22:55:45 UTC) #8
benjhayden
PTAL?
4 years, 7 months ago (2016-05-17 20:02:21 UTC) #9
eakuefner
On 2016/05/17 at 20:02:21, benjhayden wrote: > PTAL? There's a really big problem here, which ...
4 years, 7 months ago (2016-05-17 20:13:38 UTC) #10
benjhayden
On 2016/05/17 at 20:13:38, eakuefner wrote: > On 2016/05/17 at 20:02:21, benjhayden wrote: > > ...
4 years, 7 months ago (2016-05-17 20:38:32 UTC) #11
eakuefner
On 2016/05/17 at 20:38:32, benjhayden wrote: > On 2016/05/17 at 20:13:38, eakuefner wrote: > > ...
4 years, 7 months ago (2016-05-17 20:59:25 UTC) #12
eakuefner
Overall, I think this looks good. I don't really have a strong opinion on whether ...
4 years, 7 months ago (2016-05-17 20:59:51 UTC) #13
benjhayden
Thanks, PTAL. Seems to me like UI work would be parallel to this?
4 years, 7 months ago (2016-05-17 22:28:49 UTC) #15
eakuefner
lgtm
4 years, 7 months ago (2016-05-17 22:31:20 UTC) #16
nednguyen
Now I think about it, I think it could be ok to let results2html live ...
4 years, 7 months ago (2016-05-18 02:44:44 UTC) #18
petrcermak
Looks good overall. Could you please: * add a patch description and * change the ...
4 years, 7 months ago (2016-05-18 10:43:21 UTC) #19
benjhayden
Thanks, Petr! PTAL. https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py File telemetry/telemetry/internal/results/html2_output_formatter.py (right): https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode10 telemetry/telemetry/internal/results/html2_output_formatter.py:10: from catapult_base import cloud_storage # pylint: ...
4 years, 7 months ago (2016-05-18 18:23:34 UTC) #21
eakuefner
https://codereview.chromium.org/1964663003/diff/120001/tracing/tracing/results2html.html File tracing/tracing/results2html.html (right): https://codereview.chromium.org/1964663003/diff/120001/tracing/tracing/results2html.html#newcode1 tracing/tracing/results2html.html:1: <!DOCTYPE html> On 2016/05/18 at 18:23:33, benjhayden_chromium wrote: > ...
4 years, 7 months ago (2016-05-18 18:39:55 UTC) #22
petrcermak
LGTM with two more comments (as long as others are happy). Please add a link ...
4 years, 7 months ago (2016-05-18 19:05:41 UTC) #23
benjhayden
Thanks! https://codereview.chromium.org/1964663003/diff/140001/telemetry/telemetry/internal/results/html2_output_formatter.py File telemetry/telemetry/internal/results/html2_output_formatter.py (right): https://codereview.chromium.org/1964663003/diff/140001/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode46 telemetry/telemetry/internal/results/html2_output_formatter.py:46: '', On 2016/05/18 at 19:05:40, petrcermak wrote: > ...
4 years, 7 months ago (2016-05-18 19:28:44 UTC) #25
eakuefner
https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py File telemetry/telemetry/internal/results/html2_output_formatter.py (right): https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode31 telemetry/telemetry/internal/results/html2_output_formatter.py:31: # TODO move results2html to telemetry and use source ...
4 years, 7 months ago (2016-05-18 19:34:48 UTC) #26
benjhayden
https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py File telemetry/telemetry/internal/results/html2_output_formatter.py (right): https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode31 telemetry/telemetry/internal/results/html2_output_formatter.py:31: # TODO move results2html to telemetry and use source ...
4 years, 7 months ago (2016-05-18 20:03:55 UTC) #27
nednguyen
lgtm
4 years, 7 months ago (2016-05-18 20:55:11 UTC) #28
nednguyen
https://codereview.chromium.org/1964663003/diff/220001/telemetry/telemetry/internal/results/html2_output_formatter.py File telemetry/telemetry/internal/results/html2_output_formatter.py (right): https://codereview.chromium.org/1964663003/diff/220001/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode35 telemetry/telemetry/internal/results/html2_output_formatter.py:35: project = tracing_project.TracingProject() We should move this vulcanization code ...
4 years, 7 months ago (2016-05-18 20:56:05 UTC) #29
benjhayden
On 2016/05/18 at 20:03:55, benjhayden_chromium wrote: > https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py > File telemetry/telemetry/internal/results/html2_output_formatter.py (right): > > https://codereview.chromium.org/1964663003/diff/120001/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode31 ...
4 years, 7 months ago (2016-05-18 20:56:14 UTC) #30
benjhayden
I did some debugging and fixed a few small things here and there that don't ...
4 years, 7 months ago (2016-05-19 17:26:02 UTC) #31
eakuefner
https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py File telemetry/telemetry/value/scalar.py (right): https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py#newcode73 telemetry/telemetry/value/scalar.py:73: # Infinity and NaN are left out of JSON ...
4 years, 7 months ago (2016-05-19 17:30:56 UTC) #32
eakuefner
https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py File telemetry/telemetry/value/scalar.py (right): https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py#newcode93 telemetry/telemetry/value/scalar.py:93: # Infinity and NaN are left out of JSON ...
4 years, 7 months ago (2016-05-19 17:32:09 UTC) #33
eakuefner
https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py File telemetry/telemetry/value/scalar.py (right): https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py#newcode73 telemetry/telemetry/value/scalar.py:73: # Infinity and NaN are left out of JSON ...
4 years, 7 months ago (2016-05-19 17:33:04 UTC) #34
benjhayden
On 2016/05/19 at 17:33:04, eakuefner wrote: > https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py > File telemetry/telemetry/value/scalar.py (right): > > https://codereview.chromium.org/1964663003/diff/340001/telemetry/telemetry/value/scalar.py#newcode73 ...
4 years, 7 months ago (2016-05-19 21:53:06 UTC) #35
eakuefner
lgtm
4 years, 7 months ago (2016-05-19 22:03:25 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1964663003/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1964663003/360001
4 years, 7 months ago (2016-05-19 22:28:45 UTC) #39
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 22:51:14 UTC) #41
Message was sent while issue was closed.
Committed patchset #16 (id:360001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698