|
|
Compositor hit test performance improvement
When computing touch hit rects, keep track of the rect for the parent element
in the render tree. If a child lives in the same layer and it's rect
is entirely contained by the parent (fairly common in practice), then
we can skip it.
For the sites I've found with the most hit rects (from our main telemetry
page sets), this decreases hit rect computation time by about 20-60%.
BUG= 263416
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155344
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+67 lines, -57 lines) |
Patch |
 |
M |
LayoutTests/fast/events/touch/compositor-touch-hit-rects-expected.txt
|
View
|
1
|
3 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/events/touch/compositor-touch-hit-rects-scroll-expected.txt
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/platform/linux/fast/events/touch/compositor-touch-hit-rects-expected.txt
|
View
|
1
|
3 chunks |
+6 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/page/scrolling/ScrollingCoordinator.cpp
|
View
|
1
2
|
2 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBox.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderBox.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerModelObject.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderLayerModelObject.cpp
|
View
|
1
2
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.h
|
View
|
1
2
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
2
|
2 chunks |
+23 lines, -15 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderText.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderText.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/svg/RenderSVGModelObject.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/rendering/svg/RenderSVGModelObject.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|