DescriptionSkip lots of display checks in adjustRenderStyle when possible
1.5% of the time in the peacekeeper benchmark (and 2% of the recalcStyle
time) is spent inside adjustRenderStyle. This patch is the start of
trying to make adjustRenderStyle do less work in the common cases.
This patch moves the logic for adjusting the style based on the display
property out into a function and adds an early return for when the
element is display: block and is not floating since none of the other
sections of the function are needed then.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169425
Patch Set 1 #Patch Set 2 : make it a method #
Total comments: 2
Patch Set 3 : rebase #
Messages
Total messages: 24 (0 generated)
|