|
ResourceScheduler should use renderer notifications instead of MRUCache to track renderers.
The MRUCache enforced a hard limit on the number of navigations we could track. If we have more than that, we stop scheduling and load everything at once. That will only make performance worse.
The renderer notifications should provide an accurate signal when tabs come and go. Instead of having a hard limit, we'll just follow the notifications.
BUG=None
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188777
Total comments: 3
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+219 lines, -96 lines) |
Patch |
|
A |
content/browser/loader/render_view_host_tracker.h
|
View
|
1
2
3
4
5
|
1 chunk |
+56 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/loader/render_view_host_tracker.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/resource_dispatcher_host_impl.h
|
View
|
1
2
3
4
|
4 chunks |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/resource_dispatcher_host_impl.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/resource_scheduler.h
|
View
|
1
2
3
4
|
6 chunks |
+10 lines, -14 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/resource_scheduler.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+41 lines, -26 lines |
0 comments
|
Download
|
|
M |
content/browser/loader/resource_scheduler_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -15 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_process_host_impl.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_helper.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_helper.cc
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -17 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/render_process_host.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/public/test/mock_render_process_host.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
content/public/test/mock_render_process_host.cc
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|