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

Issue 1406063002: Teach mojo_benchmark to produce chart_data for the perf dashboard. (Closed)

Created:
5 years, 2 months ago by ppi
Modified:
5 years, 2 months ago
Reviewers:
viettrungluu
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Teach mojo_benchmark to produce chart_data for the perf dashboard. This patch adds the ability to encode the benchmark results in the 'chart_data' format understood by Chromium Performance Benchmark. Fixes domokit/devtools#52. R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/64736fae560422778d97e5e747458e34697cd24e

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : Address Trung's comments. #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -2 lines) Patch
A mojo/devtools/common/devtoolslib/perf_dashboard.py View 1 1 chunk +35 lines, -0 lines 0 comments Download
A mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py View 1 2 1 chunk +68 lines, -0 lines 0 comments Download
M mojo/devtools/common/mojo_benchmark View 1 2 5 chunks +18 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
ppi
Hi Trung, ptal.
5 years, 2 months ago (2015-10-15 21:57:36 UTC) #2
viettrungluu
https://codereview.chromium.org/1406063002/diff/20001/mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py File mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py (right): https://codereview.chromium.org/1406063002/diff/20001/mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py#newcode36 mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py:36: self.assertEquals(1, len(result)) This seems like a very long-winded way ...
5 years, 2 months ago (2015-10-15 22:32:57 UTC) #3
ppi
Thanks, ptal. https://codereview.chromium.org/1406063002/diff/20001/mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py File mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py (right): https://codereview.chromium.org/1406063002/diff/20001/mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py#newcode36 mojo/devtools/common/devtoolslib/perf_dashboard_unittest.py:36: self.assertEquals(1, len(result)) On 2015/10/15 22:32:56, viettrungluu wrote: ...
5 years, 2 months ago (2015-10-15 23:13:14 UTC) #4
ppi
Hi Trung, can you tal?
5 years, 2 months ago (2015-10-21 14:29:37 UTC) #5
viettrungluu
lgtm https://codereview.chromium.org/1406063002/diff/20001/mojo/devtools/common/mojo_benchmark File mojo/devtools/common/mojo_benchmark (right): https://codereview.chromium.org/1406063002/diff/20001/mojo/devtools/common/mojo_benchmark#newcode228 mojo/devtools/common/mojo_benchmark:228: measurement_name = measurement_spec.replace('/', '-') On 2015/10/15 23:13:14, ppi ...
5 years, 2 months ago (2015-10-21 15:45:28 UTC) #6
ppi
5 years, 2 months ago (2015-10-22 09:14:46 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
64736fae560422778d97e5e747458e34697cd24e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698