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

Issue 1707793002: sandwich: Refactor to use more existing code. (Closed)

Created:
4 years, 10 months ago by gabadie
Modified:
4 years, 10 months ago
Reviewers:
Benoit L, mattcary
CC:
chromium-reviews, jbudorick+watch_chromium.org, mikecase+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

sandwich: Refactor to use more existing code. Also fixes a failures caused by 23bd22480abd2209f258d1dd8d3a8572ee17954a: "Refactor options in analyze.py to global structure" BUG=582080 Committed: https://crrev.com/51f679843972a6f6592d871fea887b6435b7fe75 Cr-Commit-Position: refs/heads/master@{#376728}

Patch Set 1 #

Total comments: 13

Patch Set 2 : Removes type asserts #

Patch Set 3 : Integrates options layer slightly more #

Total comments: 12

Patch Set 4 : Addresses benoit's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -158 lines) Patch
M tools/android/loading/loading_trace.py View 1 2 3 3 chunks +14 lines, -0 lines 0 comments Download
M tools/android/loading/pull_sandwich_metrics.py View 1 5 chunks +40 lines, -37 lines 0 comments Download
M tools/android/loading/pull_sandwich_metrics_unittest.py View 1 2 3 5 chunks +127 lines, -77 lines 0 comments Download
M tools/android/loading/run_sandwich.py View 1 2 3 9 chunks +27 lines, -41 lines 0 comments Download
M tools/android/loading/trace_recorder.py View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M tools/android/loading/tracing.py View 1 2 3 2 chunks +14 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (6 generated)
gabadie
lizeb@chromium.org, mattcary@chromium.org: PTAL.
4 years, 10 months ago (2016-02-17 17:57:51 UTC) #2
mattcary
https://codereview.chromium.org/1707793002/diff/1/tools/android/loading/pull_sandwich_metrics.py File tools/android/loading/pull_sandwich_metrics.py (right): https://codereview.chromium.org/1707793002/diff/1/tools/android/loading/pull_sandwich_metrics.py#newcode122 tools/android/loading/pull_sandwich_metrics.py:122: assert type(loading_trace) == loading_trace_module.LoadingTrace This sort of check seems ...
4 years, 10 months ago (2016-02-19 14:41:06 UTC) #3
gabadie
Thanks Matt. New revision uploaded. PTAL. https://codereview.chromium.org/1707793002/diff/1/tools/android/loading/pull_sandwich_metrics.py File tools/android/loading/pull_sandwich_metrics.py (right): https://codereview.chromium.org/1707793002/diff/1/tools/android/loading/pull_sandwich_metrics.py#newcode122 tools/android/loading/pull_sandwich_metrics.py:122: assert type(loading_trace) == ...
4 years, 10 months ago (2016-02-19 15:04:35 UTC) #4
mattcary
https://codereview.chromium.org/1707793002/diff/1/tools/android/loading/run_sandwich.py File tools/android/loading/run_sandwich.py (right): https://codereview.chromium.org/1707793002/diff/1/tools/android/loading/run_sandwich.py#newcode45 tools/android/loading/run_sandwich.py:45: _JOB_SEARCH_PATH = 'sandwich_jobs' On 2016/02/19 15:04:35, gabadie wrote: > ...
4 years, 10 months ago (2016-02-19 15:29:00 UTC) #6
mattcary
lgtm After offline discussion, we've decided that the options parsing needs some reworking, as caching ...
4 years, 10 months ago (2016-02-22 10:07:21 UTC) #7
Benoit L
https://codereview.chromium.org/1707793002/diff/40001/tools/android/loading/loading_trace.py File tools/android/loading/loading_trace.py (right): https://codereview.chromium.org/1707793002/diff/40001/tools/android/loading/loading_trace.py#newcode45 tools/android/loading/loading_trace.py:45: def SaveToJsonFile(self, json_path): nit: ToJsonFile to be more consistent ...
4 years, 10 months ago (2016-02-22 10:26:13 UTC) #8
gabadie
Thanks Benoit! New revision uploaded. lizeb@chromium.org: PTAL. :) https://codereview.chromium.org/1707793002/diff/40001/tools/android/loading/loading_trace.py File tools/android/loading/loading_trace.py (right): https://codereview.chromium.org/1707793002/diff/40001/tools/android/loading/loading_trace.py#newcode45 tools/android/loading/loading_trace.py:45: def ...
4 years, 10 months ago (2016-02-22 11:05:07 UTC) #9
Benoit L
On 2016/02/22 11:05:07, gabadie wrote: > Thanks Benoit! New revision uploaded. > > mailto:lizeb@chromium.org: PTAL. ...
4 years, 10 months ago (2016-02-22 14:05:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1707793002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1707793002/60001
4 years, 10 months ago (2016-02-22 14:40:20 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-22 15:10:59 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-22 15:13:15 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/51f679843972a6f6592d871fea887b6435b7fe75
Cr-Commit-Position: refs/heads/master@{#376728}

Powered by Google App Engine
This is Rietveld 408576698