Commit 6ef9302b authored by skyostil's avatar skyostil Committed by Commit bot

scheduler: Increase work batch size to 4

BUG=444764

Review URL: https://codereview.chromium.org/873313006

Cr-Commit-Position: refs/heads/master@{#314546}
parent a4b285eb
......@@ -45,8 +45,8 @@ RendererSchedulerImpl::RendererSchedulerImpl(
CONTROL_TASK_QUEUE, RendererTaskQueueSelector::CONTROL_PRIORITY);
renderer_task_queue_selector_->DisableQueue(IDLE_TASK_QUEUE);
task_queue_manager_->SetAutoPump(IDLE_TASK_QUEUE, false);
// TODO(skyostil): Increase this to 4 (crbug.com/444764).
task_queue_manager_->SetWorkBatchSize(1);
// See crbug.com/444764 for how this work batch size was derived.
task_queue_manager_->SetWorkBatchSize(4);
for (size_t i = 0; i < TASK_QUEUE_COUNT; i++) {
task_queue_manager_->SetQueueName(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment