Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Issue 1950913005: scheduler: Only prioritize rAF if it is fast (Closed)

Created:
4 years, 7 months ago by Sami
Modified:
4 years, 7 months ago
Reviewers:
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2704
Target Ref:
refs/pending/branch-heads/2704
Project:
chromium
Visibility:
Public.

Description

scheduler: 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 Review-Url: https://codereview.chromium.org/1914373004 Cr-Commit-Position: refs/heads/master@{#391221} (cherry picked from commit 6f3d26fe1385dc74f22bf2cf6bddc6830dd00d6c) Committed: https://chromium.googlesource.com/chromium/src/+/bf63388e22acf3290e8c3eb8891dd8bfbcc3f86b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -3 lines) Patch
M components/scheduler/renderer/renderer_scheduler_impl.cc View 4 chunks +18 lines, -3 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl_unittest.cc View 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
Sami
4 years, 7 months ago (2016-05-05 12:53:35 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
bf63388e22acf3290e8c3eb8891dd8bfbcc3f86b.

Powered by Google App Engine
This is Rietveld 408576698