Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(656)

Issue 894183002: Revert of Run task queue manager work in batches (Closed)

Created:
5 years, 10 months ago by oystein (OOO til 10th of July)
Modified:
5 years, 10 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, scheduler-bugs_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Run task queue manager work in batches (patchset #11 id:200001 of https://codereview.chromium.org/845543004/) Reason for revert: Speculative revert for crbug.com/453898 Original issue's description: > Run task queue manager work in batches > > This patch lets the task queue manager run more than one posted task > per invocation. This helps reduce the overhead of yielding to and from > the main message loop and can speed up cases where tasks are posted > very frequently. One example is indexeddb, where some operations such as > index building can result in 2500 posted tasks/s (Nexus 7). > > This patch also adds accounting for the desired run time of the next > pending delayed task. This information is used to break out of a work > batch if a delayed task should be run instead. Doing this avoids adding > extra delay to delayed tasks. > > A potential downside of this change is that it can penalize work that > runs on the message loop without going through the task queue manager. > Based on performance tests[1], almost all tasks on the renderer main > thread are already getting executed by the task queue manager, so I > believe this change shouldn't cause a regression. > > Note that this version of the patch still uses a batch size of 1 while > we investigate some mac test failures triggered by larger batch sizes. > > [1] https://docs.google.com/a/chromium.org/spreadsheets/d/1IJZpBabW1pr4fb2T8BlkleHcOvHYrjvmCx_dLesxfMA/edit#gid=1492760051 > > BUG=444764, 451593 > > Committed: https://crrev.com/42ad8e954a2eafaa52bc3e566747eeb274ad1ad1 > Cr-Commit-Position: refs/heads/master@{#313271} TBR=rmcilroy@chromium.org,alexclarke@chromium.org,picksi@chromium.org,skyostil@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=444764, 451593 Committed: https://crrev.com/679b4c0a8f116908febcf9ec5824a6b34a2b7323 Cr-Commit-Position: refs/heads/master@{#314187}

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -187 lines) Patch
M content/renderer/scheduler/renderer_scheduler_impl.h View 1 4 chunks +3 lines, -6 lines 0 comments Download
M content/renderer/scheduler/renderer_scheduler_impl.cc View 1 2 chunks +1 line, -10 lines 0 comments Download
M content/renderer/scheduler/renderer_scheduler_impl_unittest.cc View 1 1 chunk +17 lines, -4 lines 0 comments Download
M content/renderer/scheduler/task_queue_manager.h View 1 5 chunks +1 line, -21 lines 0 comments Download
M content/renderer/scheduler/task_queue_manager.cc View 1 10 chunks +13 lines, -66 lines 0 comments Download
M content/renderer/scheduler/task_queue_manager_unittest.cc View 1 2 chunks +0 lines, -77 lines 0 comments Download
M tools/ubsan/blacklist.txt View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
oystein (OOO til 10th of July)
Created Revert of Run task queue manager work in batches
5 years, 10 months ago (2015-02-02 20:35:51 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894183002/1
5 years, 10 months ago (2015-02-02 20:37:29 UTC) #2
commit-bot: I haz the power
Failed to apply patch for content/renderer/scheduler/task_queue_manager.cc: While running git apply --index -3 -p1; error: patch ...
5 years, 10 months ago (2015-02-02 20:38:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894183002/160001
5 years, 10 months ago (2015-02-02 21:00:31 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:160001)
5 years, 10 months ago (2015-02-02 21:02:11 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 21:03:14 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/679b4c0a8f116908febcf9ec5824a6b34a2b7323
Cr-Commit-Position: refs/heads/master@{#314187}

Powered by Google App Engine
This is Rietveld 408576698