Chromium Code Reviews
DescriptionTaskScheduler: Fix initial order of SchedulerWorkers on idle stack.
With this CL, SchedulerWorkers are pushed to the idle stack in
reverse order of index. This is nice for 2 reasons:
- In chrome://tracing, we see that workers with low indexes start
running tasks before workers with high indexes.
- In chrome://tracing, if |Number of used workers| is less than
|Max workers|, we see tracks for workers
[0, Number of used workers - 1] rather than
[Max workers - Number of used workers, Max workers - 1].
BUG=553459
Committed: https://crrev.com/ffe700619a9cffa614ed1424452cf1d7dba50206
Cr-Commit-Position: refs/heads/master@{#425167}
Patch Set 1 #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 10 (4 generated)
|
|||||||||||||||||||