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

Issue 1813723002: clovis: Identify prefetchable resources from dependencies and tracing. (Closed)

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

clovis: Identify prefetchable resources from dependencies and tracing. Resources that are discoverable by the preload scanner are behind a "parser" dependency. However, this is a superset of the actual discoverable resources. Use tracing to find the actual resources, that are then matched to requests. Committed: https://crrev.com/7f2bd1dc11f2e24416a0c0380bf4d908d4e82b62 Cr-Commit-Position: refs/heads/master@{#382542}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 6

Patch Set 3 : Address comments. #

Total comments: 6

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -70 lines) Patch
M tools/android/loading/activity_lens.py View 1 chunk +2 lines, -2 lines 0 comments Download
A tools/android/loading/prefetch_view.py View 1 2 3 1 chunk +116 lines, -0 lines 0 comments Download
A tools/android/loading/prefetch_view_unittest.py View 1 1 chunk +62 lines, -0 lines 0 comments Download
M tools/android/loading/request_dependencies_lens.py View 2 chunks +28 lines, -3 lines 0 comments Download
M tools/android/loading/request_dependencies_lens_unittest.py View 2 chunks +107 lines, -51 lines 0 comments Download
M tools/android/loading/test_utils.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/android/loading/tracing.py View 1 chunk +15 lines, -10 lines 0 comments Download
M tools/android/loading/tracing_unittest.py View 1 chunk +24 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (5 generated)
Benoit L
4 years, 9 months ago (2016-03-17 16:50:08 UTC) #2
mattcary
lgtm https://codereview.chromium.org/1813723002/diff/20001/tools/android/loading/prefetch_view.py File tools/android/loading/prefetch_view.py (right): https://codereview.chromium.org/1813723002/diff/20001/tools/android/loading/prefetch_view.py#newcode57 tools/android/loading/prefetch_view.py:57: [self.dependencies_lens.GetRedirectChain(r) for r in requests], []) Isn't this ...
4 years, 9 months ago (2016-03-18 15:58:26 UTC) #3
Benoit L
Thanks for the review! https://codereview.chromium.org/1813723002/diff/20001/tools/android/loading/prefetch_view.py File tools/android/loading/prefetch_view.py (right): https://codereview.chromium.org/1813723002/diff/20001/tools/android/loading/prefetch_view.py#newcode57 tools/android/loading/prefetch_view.py:57: [self.dependencies_lens.GetRedirectChain(r) for r in requests], ...
4 years, 9 months ago (2016-03-21 09:52:10 UTC) #4
blundell
https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py File tools/android/loading/prefetch_view.py (right): https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py#newcode5 tools/android/loading/prefetch_view.py:5: """Models the effect of NoState Prefetch from a loading ...
4 years, 9 months ago (2016-03-21 10:07:18 UTC) #5
blundell
https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py File tools/android/loading/prefetch_view.py (right): https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py#newcode5 tools/android/loading/prefetch_view.py:5: """Models the effect of NoState Prefetch from a loading ...
4 years, 9 months ago (2016-03-21 10:22:04 UTC) #6
blundell
https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py File tools/android/loading/prefetch_view.py (right): https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py#newcode36 tools/android/loading/prefetch_view.py:36: def ParserDiscoverableRequests(self, request, recurse=False): Should/could this eventually be the ...
4 years, 9 months ago (2016-03-21 10:47:16 UTC) #7
mattcary
https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py File tools/android/loading/prefetch_view.py (right): https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py#newcode36 tools/android/loading/prefetch_view.py:36: def ParserDiscoverableRequests(self, request, recurse=False): On 2016/03/21 10:47:16, blundell wrote: ...
4 years, 9 months ago (2016-03-21 10:54:44 UTC) #8
blundell
On 2016/03/21 10:54:44, mattcary wrote: > https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py > File tools/android/loading/prefetch_view.py (right): > > https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py#newcode36 > ...
4 years, 9 months ago (2016-03-21 10:58:06 UTC) #9
mattcary
On 2016/03/21 10:58:06, blundell wrote: > On 2016/03/21 10:54:44, mattcary wrote: > > > https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py ...
4 years, 9 months ago (2016-03-21 11:59:26 UTC) #10
gabadie
https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py File tools/android/loading/prefetch_view.py (right): https://codereview.chromium.org/1813723002/diff/40001/tools/android/loading/prefetch_view.py#newcode36 tools/android/loading/prefetch_view.py:36: def ParserDiscoverableRequests(self, request, recurse=False): On 2016/03/21 10:54:44, mattcary wrote: ...
4 years, 9 months ago (2016-03-21 12:55:45 UTC) #12
Benoit L
Thanks for the comments. Added a link to the NoState prefetch design doc. As for ...
4 years, 9 months ago (2016-03-22 09:32:23 UTC) #13
mattcary
On 2016/03/22 09:32:23, Benoit L wrote: > Thanks for the comments. > Added a link ...
4 years, 9 months ago (2016-03-22 09:34:51 UTC) #14
mattcary
On 2016/03/22 09:32:23, Benoit L wrote: > Thanks for the comments. > Added a link ...
4 years, 9 months ago (2016-03-22 09:34:52 UTC) #15
blundell
On 2016/03/22 09:32:23, Benoit L wrote: > Thanks for the comments. > Added a link ...
4 years, 9 months ago (2016-03-22 09:35:06 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1813723002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1813723002/60001
4 years, 9 months ago (2016-03-22 09:36:12 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-22 10:18:28 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-22 10:19:53 UTC) #22
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7f2bd1dc11f2e24416a0c0380bf4d908d4e82b62
Cr-Commit-Position: refs/heads/master@{#382542}

Powered by Google App Engine
This is Rietveld 408576698