Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding support to defer task queues on the browser UI thread.
BrowserUIThreadScheduler now creates QueueEnabledVoters for all it's task queues. BrowserUIThreadScheduler now supports a Policy object which controls different BrowserTaskQueue's priority and being enabled/disabled. Initial policy disables all queues less than or equal to kNormalPriority during scrolls/flings, and enables them back when the scroll/fling ends. This feature is controlled through the kBrowserDeferUIThreadTasks finch flag. To enable feature on local builds: build/android/adb_chrome_public_command_line --enable-features=BrowserDeferUIThreadTasks:defer_normal_or_less_priority_tasks/true/defer_known_long_running_tasks/true Bug: 1393353 Change-Id: I419d471dbfdf418d27c9e2465c984869212eb519 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4055527 Commit-Queue: Omar Elmekkawy <mekk@chromium.org> Reviewed-by: Alexander Timin <altimin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1084703}
- Loading branch information
Omar Elmekkawy
authored and
Chromium LUCI CQ
committed
Dec 17, 2022
1 parent
71f7a4c
commit b081b58
Showing
9 changed files
with
364 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.