DescriptionWeb Animations: Add a fast path for LengthStyleIntepolation application
This change bypasses creating a CSSValue when applying length animations
where only pixels or percentage values are interpolating and the
LayoutStyle has a Length setter for the animated property.
This is a performance change, there should be no behavioural changes.
Avoiding creating a CSSValue at application time improves the
css_value_type_length_simple?api=web_animations benchmark by ~4%
bringing it to the same level as css_value_type_length_simple?api=css_animations.
Tested on a Nexus 7 device.
BUG=309981
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191521
Patch Set 1 #Patch Set 2 : g cl try #
Total comments: 10
Patch Set 3 : Review changes. #
Total comments: 2
Patch Set 4 : Rebase #Patch Set 5 : Review changes #Patch Set 6 : Make compile work. #
Messages
Total messages: 19 (7 generated)
|