Chromium Code Reviews
Descriptionscheduler: Only prioritize rAF if it is fast
To avoid starving other tasks, only prioritize main thread compositing (i.e.,
requestAnimationFrame) if there is more than 80% idle time left in a frame. This can
reduce animation frame rate on sites which can't keep up with the display refresh
rate, but will ensure other tasks (e.g., postMessage) aren't starved as a
side-effect.
BUG=600385
Committed: https://crrev.com/6f3d26fe1385dc74f22bf2cf6bddc6830dd00d6c
Cr-Commit-Position: refs/heads/master@{#391221}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Require 20% idle time, add tests. #
Messages
Total messages: 14 (7 generated)
|
||||||||||||||||||||||||||||