Chromium Code Reviews
DescriptionAvoid unnecessary forced layout of flex items when stretching
An old optimization to RenderFlexibleBox layout considered whether
or not an element can stretch in the orthogonal direction to flow
to determine whether or not to force layout. This case is already
handled properly in applyStretchAlignmentToChild, so this was
unnecessarily causing extra layouts. Fixing this speeds up our
performance on the Holiday Lites benchmark:
http://ie.microsoft.com/testdrive/Performance/HolidayLites/
TEST=PerformanceTests/flexbox-with-stretch-layout.html
BUG=331848
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164728
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||