commit | 1266d1fbfe7bc8ea757a5a3712917b8be61a4ffb | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Wed Jan 02 19:17:31 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 02 19:17:31 2019 |
tree | 37140493e2d05aa17ee94de9f17f2a623560e6bb | |
parent | 4fdfc4c1658d28dbc2be017df2cee3eaef1b9bb6 [diff] |
[DL]: Add a budget that yields between lifecycles if the deadline is passed. This patch adds a yielding budget which tries to do as much work as possible within the budget. If the budget expires, it yields between lifecycles. This patch also makes this the default budget, since it's the best behavior currently implemented. See YieldingDisplayLockBudget::GetCurrentBudgetMs() for the time budgets. These were picked arbitrarily, but I think they seem reasonable. R=chrishtr@chromium.org Bug: 907619, 882663 Change-Id: If8b3680df6b52690c238f23a319591dd8e181add Reviewed-on: https://chromium-review.googlesource.com/c/1388159 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#619453}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .