DescriptionChange TaskQueueImpl to use a Deque with an inline capacity of 8
A speculative change that might help mitigate problems with
WTF::Deque::expandCapacity which sometimes takes over a second
due to heavy load on PartitionAlloc.
I'm hoping in normal operation the default_tq doesn't get more
than a handful of tasks (a quick trace of handouts on a high end
pc suggests the queue depth is <= 3) which would let us avoid
dynamic allocations entirely.
BUG=710245
Review-Url: https://codereview.chromium.org/2860813004
Cr-Commit-Position: refs/heads/master@{#469302}
Committed: https://chromium.googlesource.com/chromium/src/+/05864d5cb320715302b6d39f88728ff0a8776378
Patch Set 1 #
Messages
Total messages: 16 (11 generated)
|