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

Issue 2538043005: Replace ValueSetOutputFormatter with HistogramSetJsonOutputFormatter. (Closed)

Created:
4 years ago by benjhayden
Modified:
4 years ago
Reviewers:
eakuefner
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Replace ValueSetOutputFormatter with HistogramSetJsonOutputFormatter. Currently, run_benchmark --output=valueset dumps TBMv2 Histograms to JSON, but it does not convert TBMv1 Values to Histograms, nor does it read existing results, nor does it support uploading. Also the name is wrong. This CL renames ValueSetOutputFormatter to HistogramSetJsonOutputFormatter, and re-conceptualizes it as a subclass of Html2OutputFormatter in order to support converting TBMv1 Values to Histograms and uploading. The new HistogramSetJsonOutputFormatter now also reads existing results. http://go/histogram-set-json-format http://go/histogram-pipeline BUG=catapult:#2717 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/77ad967bf0a4a9358d57fe42a6fd2a83a422ff49

Patch Set 1 #

Total comments: 2

Patch Set 2 : refactor #

Patch Set 3 : fix #

Patch Set 4 : PrintViewResults() #

Patch Set 5 : fix reading existing histograms json #

Patch Set 6 : fix test #

Patch Set 7 : rebase #

Messages

Total messages: 29 (14 generated)
benjhayden
PTAL :-) Should this go to telemetry-announce?
4 years ago (2016-12-02 19:47:59 UTC) #5
eakuefner
Hmm... does it seem like Html2OutputFormatter should actually be a subclass of HistogramSetJsonOutputFormatter and not ...
4 years ago (2016-12-02 21:56:10 UTC) #6
eakuefner
On 2016/12/02 at 19:47:59, benjhayden wrote: > PTAL :-) > > Should this go to ...
4 years ago (2016-12-02 21:56:32 UTC) #7
benjhayden
On 2016/12/02 at 21:56:10, eakuefner wrote: > Hmm... does it seem like Html2OutputFormatter should actually ...
4 years ago (2016-12-02 23:31:17 UTC) #8
eakuefner
lgtm Eliminate subclassing as discussed.
4 years ago (2016-12-05 21:56:30 UTC) #9
benjhayden
https://codereview.chromium.org/2538043005/diff/1/telemetry/telemetry/internal/results/html2_output_formatter.py File telemetry/telemetry/internal/results/html2_output_formatter.py (right): https://codereview.chromium.org/2538043005/diff/1/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode29 telemetry/telemetry/internal/results/html2_output_formatter.py:29: def ConvertChartJson_(self, page_test_results): Factor to PageTestResults.AsHistogramDicts() https://codereview.chromium.org/2538043005/diff/1/telemetry/telemetry/internal/results/html2_output_formatter.py#newcode61 telemetry/telemetry/internal/results/html2_output_formatter.py:61: file_path ...
4 years ago (2016-12-05 21:56:35 UTC) #10
benjhayden
Done. Want to take another look? Should Ned review?
4 years ago (2016-12-06 18:05:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2538043005/80001
4 years ago (2016-12-07 00:38:20 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Mac%20Tryserver/builds/5868)
4 years ago (2016-12-07 00:53:32 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2538043005/50008
4 years ago (2016-12-07 16:51:11 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Linux Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Linux%20Tryserver/builds/5833)
4 years ago (2016-12-07 17:52:12 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2538043005/110001
4 years ago (2016-12-07 18:04:25 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:110001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/77ad967bf0a4a9358d57fe42a6fd2a83a422ff49
4 years ago (2016-12-07 18:26:23 UTC) #27
eakuefner
A revert of this CL (patchset #7 id:110001) has been created in https://codereview.chromium.org/2556213002/ by eakuefner@chromium.org. ...
4 years ago (2016-12-07 18:36:12 UTC) #28
eakuefner
4 years ago (2016-12-07 18:40:51 UTC) #29
Message was sent while issue was closed.
Before re-landing, can we figure out why HistogramSetJsonOutputFormatter needs
to be able to upload results? My best guess is that it does not; the uploading
functionality is to service perf tryjobs, which upload HTML results to cloud
storage.

Powered by Google App Engine
This is Rietveld 408576698