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

Issue 1392173006: Make mojo_benchmark understand the output it is producing. (Closed)

Created:
5 years, 2 months ago by ppi
Modified:
5 years, 2 months ago
Reviewers:
viettrungluu, qsr
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

Make mojo_benchmark understand the output it is producing. This patch: - refactors the logic in mojo_benchmark so that obtaining the output produced by `benchmark.mojo` is separated from its analysis and presentation - makes `mojo_benchmark` parse the measurements results, as opposed to just streaming the output produced by `benchmark.mojo`. This is a prerequisite for producing the chart data to be uploaded to the performance dashboard, see domokit/mojo#474. As a bonus, we now notice when measurement result is missing and return non-zero exit code. R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/0acce94790935a282c3461c3fca2787e61bd2233

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address Trung's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -24 lines) Patch
M mojo/devtools/common/mojo_benchmark View 1 6 chunks +74 lines, -24 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
ppi
Hi Trung or Ben, ptal.
5 years, 2 months ago (2015-10-14 23:42:56 UTC) #2
viettrungluu
https://codereview.chromium.org/1392173006/diff/1/mojo/devtools/common/mojo_benchmark File mojo/devtools/common/mojo_benchmark (right): https://codereview.chromium.org/1392173006/diff/1/mojo/devtools/common/mojo_benchmark#newcode219 mojo/devtools/common/mojo_benchmark:219: succeeded = False This is a confusing pattern, since ...
5 years, 2 months ago (2015-10-15 00:45:03 UTC) #3
ppi
https://codereview.chromium.org/1392173006/diff/1/mojo/devtools/common/mojo_benchmark File mojo/devtools/common/mojo_benchmark (right): https://codereview.chromium.org/1392173006/diff/1/mojo/devtools/common/mojo_benchmark#newcode219 mojo/devtools/common/mojo_benchmark:219: succeeded = False On 2015/10/15 00:45:03, viettrungluu wrote: > ...
5 years, 2 months ago (2015-10-15 01:15:15 UTC) #4
viettrungluu
lgtm
5 years, 2 months ago (2015-10-15 01:55:03 UTC) #5
ppi
5 years, 2 months ago (2015-10-15 02:04:05 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0acce94790935a282c3461c3fca2787e61bd2233 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698