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

Issue 1619713002: Upgrade analyze.py and related scripts to new world order. (Closed)

Created:
4 years, 11 months ago by mattcary
Modified:
4 years, 11 months ago
Reviewers:
Benoit L, blundell
CC:
chromium-reviews, devtools-reviews_chromium.org, jbudorick+watch_chromium.org, pfeldman, 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

Upgrade analyze.py and related scripts to new world order. Changes analyze.py to use loading_trace methods. Moved old files to deprecated/, I think we're all done with them but we may need them for reference. Updated loading_model graph drawing to account for new content-types; what I've done seems sub-optimal & suggestions are welcome. Fixed at least one minor bug (the request end units problem Benoit found). Committed: https://crrev.com/76303eb216a17c2f93f19593f8ba8b81472c29e4 Cr-Commit-Position: refs/heads/master@{#370715}

Patch Set 1 #

Total comments: 22

Patch Set 2 : Grey70 is mostly white, Grey2 is mostly black #

Patch Set 3 : comments, make work on mor pages #

Patch Set 4 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -734 lines) Patch
M tools/android/loading/analyze.py View 1 2 3 7 chunks +18 lines, -54 lines 0 comments Download
A + tools/android/loading/deprecated/log_parser.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/android/loading/deprecated/log_requests.py View 0 chunks +-1 lines, --1 lines 0 comments Download
A + tools/android/loading/deprecated/process_request_log.py View 0 chunks +-1 lines, --1 lines 0 comments Download
M tools/android/loading/device_setup.py View 1 2 3 3 chunks +21 lines, -0 lines 0 comments Download
M tools/android/loading/devtools_monitor.py View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M tools/android/loading/loading_model.py View 1 2 8 chunks +48 lines, -14 lines 0 comments Download
M tools/android/loading/loading_model_unittest.py View 1 2 4 chunks +23 lines, -6 lines 0 comments Download
D tools/android/loading/log_parser.py View 1 chunk +0 lines, -218 lines 0 comments Download
D tools/android/loading/log_requests.py View 1 chunk +0 lines, -237 lines 0 comments Download
D tools/android/loading/process_request_log.py View 1 chunk +0 lines, -189 lines 0 comments Download
M tools/android/loading/processing.py View 3 chunks +8 lines, -5 lines 0 comments Download
M tools/android/loading/request_dependencies_lens.py View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M tools/android/loading/request_track.py View 1 2 4 chunks +21 lines, -1 line 0 comments Download
M tools/android/loading/trace_recorder.py View 1 2 3 1 chunk +25 lines, -11 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
mattcary
Hi Benoit and Colin: This update here is what was used to generate the recent ...
4 years, 11 months ago (2016-01-21 13:58:16 UTC) #2
blundell
https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py File tools/android/loading/analyze.py (right): https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py#newcode154 tools/android/loading/analyze.py:154: return loading_model.ResourceGraph( these two lines are: return _ProcessJson(json.load(f)) right? ...
4 years, 11 months ago (2016-01-21 14:11:38 UTC) #3
Benoit L
https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py File tools/android/loading/analyze.py (right): https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py#newcode95 tools/android/loading/analyze.py:95: def _LogRequests(url, clear_cache=True, local=False): Can this move into trace_recorder? ...
4 years, 11 months ago (2016-01-21 14:14:38 UTC) #4
mattcary
https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py File tools/android/loading/analyze.py (right): https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py#newcode95 tools/android/loading/analyze.py:95: def _LogRequests(url, clear_cache=True, local=False): On 2016/01/21 14:14:38, Benoit L ...
4 years, 11 months ago (2016-01-21 16:11:35 UTC) #5
Benoit L
lgtm, thank you! https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py File tools/android/loading/analyze.py (right): https://codereview.chromium.org/1619713002/diff/1/tools/android/loading/analyze.py#newcode95 tools/android/loading/analyze.py:95: def _LogRequests(url, clear_cache=True, local=False): On 2016/01/21 ...
4 years, 11 months ago (2016-01-21 16:20:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1619713002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1619713002/60001
4 years, 11 months ago (2016-01-21 16:21:46 UTC) #8
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-21 16:55:27 UTC) #9
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 16:56:23 UTC) #11
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/76303eb216a17c2f93f19593f8ba8b81472c29e4
Cr-Commit-Position: refs/heads/master@{#370715}

Powered by Google App Engine
This is Rietveld 408576698