|
This CL attempts to improve upon the default loading priorities for images. By default, images will start at ResourceLoadPriorityVeryLow and after a layout or during a scroll, anything that's visible will be promoted up to ResourceLoadPriorityLow.
In our tests, this was a really nice win on speed-index, with a gain of ~5% on average, at ~14% at the 99th percentile.
BUG= 319073
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163110
Total comments: 12
Total comments: 11
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+223 lines, -81 lines) |
Patch |
|
A |
LayoutTests/http/tests/loading/promote-img-in-viewport-priority.html
|
View
|
1
2
3
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/http/tests/loading/promote-img-in-viewport-priority-expected.txt
|
View
|
1
2
3
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
D |
LayoutTests/http/tests/loading/promote-img-preload-priority.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -14 lines |
0 comments
|
Download
|
|
D |
LayoutTests/http/tests/loading/promote-img-preload-priority-expected.txt
|
View
|
1
2
3
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
|
A + |
LayoutTests/http/tests/misc/resources/image-slow-out-of-viewport.pl
|
View
|
1
2
3
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
|
M |
Source/core/core.gypi
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/fetch/ResourceFetcher.cpp
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
A + |
Source/core/fetch/ResourceLoadPriorityOptimizer.h
|
View
|
1
2
3
|
1 chunk |
+24 lines, -26 lines |
0 comments
|
Download
|
|
A + |
Source/core/fetch/ResourceLoadPriorityOptimizer.cpp
|
View
|
1
2
3
|
1 chunk |
+28 lines, -29 lines |
0 comments
|
Download
|
|
M |
Source/core/frame/FrameView.cpp
|
View
|
1
2
3
|
4 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlock.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderBlock.cpp
|
View
|
1
2
3
|
3 chunks |
+72 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderImage.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderImage.cpp
|
View
|
1
2
3
|
2 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
3
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
3
|
2 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|