Chromium Code Reviews
DescriptionIntroduce a basic Blink Scheduler
This patch adds a bare-bones scheduler for prioritizing tasks that run
on the Blink main thread. The initial scheduling policy is to simply run
all tasks in their posted order.
The shared timer, WTF::callOnMainThread and by extension
WebCore::MainThreadTaskRunner are modified to route their tasks through
the Scheduler for eventual prioritization. A proxy for the scheduler is
also exposed in public/platform so that modules in content will be able
to post high priority (e.g., input and compositor-related) tasks.
Design document:
https://docs.google.com/a/chromium.org/document/d/11N2WTV3M0IkZ-kQlKWlBcwkOkKTCuLXGVNylK5E2zvc/edit#heading=h.3ay9sj44f0zd
BUG=391005
TEST=SchedulerTest.*
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178267
Patch Set 1 #Patch Set 2 : Link fix. #Patch Set 3 : Basic prioritized task dispatch. #Patch Set 4 : Basic timer scheduling. #Patch Set 5 : Compositor tasks. #Patch Set 6 : Rebased. #
Total comments: 2
Patch Set 7 : Blink scheduler phase 0. #Patch Set 8 : Build fix for old gcc. #
Total comments: 11
Patch Set 9 : Rebased. #Patch Set 10 : Review feedback. #
Total comments: 2
Patch Set 11 : Cleaned up includes + build fix. #
Total comments: 1
Messages
Total messages: 13 (0 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||