|
|
Allow performance tests to test full rendering performance
Before we did paint invalidation after layout and compositing update,
blink performance tests reflected the whole document cycle performance
including almost everything from style recalc to invalidation. A simple
'element.offsetTop' could trigger such a cycle.
After change of compositing update and RACUN, the layout triggered
by 'element.offsetTop' no longer included cost of compositing update
and paint invalidation, causing incomplete performance coverage of the
performance tests.
Add PerfTestRunner.layoutOrFullyRender() which force a layout or
a full rendering (including style recalc, layout, compositing update
and paint invalidation, not including painting) according to global
variable window.fullRenderingMeasurement, and change the original
'element.offsetTop' statements in the performance tests to
PerfTestRunner.layoutOrFullyRender() calls.
Chromium side change https://codereview.chromium.org/681493002/ is
needed to expose internals API for blink_perf tests. With the change,
full rendering performance will be tested in new test suites named
like blink_perf.*_full_rendering.
BUG= 426599
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185484
Total comments: 2
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+99 lines, -91 lines) |
Patch |
 |
M |
PerformanceTests/Interactive/SelectAll.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Interactive/resources/window-resize.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/ArabicLineLayout.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/Shapes/MultipleShapes.html
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/Shapes/resources/shapes.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/SimpleTextPathLineLayout.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/auto-grid-lots-of-data.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/chapter-reflow.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/chapter-reflow-once.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/chapter-reflow-once-random.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/chapter-reflow-thrice.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/chapter-reflow-twice.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/fixed-grid-lots-of-data.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/flexbox-column-nowrap.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/flexbox-column-wrap.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/flexbox-lots-of-data.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/flexbox-row-nowrap.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/flexbox-row-wrap.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/flexbox-with-stretch-layout.html
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/hindi-line-layout.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/layers_overlap_2d.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/layers_overlap_3d.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/line-layout.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/line-layout-line-height.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/resources/character_fallback_test.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/resources/floats.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/resources/large-table-with-collapsed-borders.js
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/Layout/subtree-detaching.html
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/SVG/SvgCubics.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/SVG/SvgNestedUse.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/ChangingClassName.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/ChangingClassNameShadowDOM.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/ChangingSelect.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/ChangingSelectWithoutShadow.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/ContentReprojection.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/DistributionWithMultipleShadowRoots.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/MultipleInsertionPoints.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/ShadowReprojection.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/SmallDistributionWithLayout.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/shadow-style-share.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/shadow-style-share-attr-selectors.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/shadow-style-share-media-query.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/ShadowDOM/shadow-style-share-with-distribution.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
PerformanceTests/resources/runner.js
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+22 lines, -6 lines |
0 comments
|
Download
|
Total messages: 30 (4 generated)
|