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

Issue 1576133002: Add category handling to RasterWorkerPool (Closed)

Created:
4 years, 11 months ago by ericrk
Modified:
4 years, 11 months ago
Reviewers:
reveman, vmpstr, no sievers
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@hihi
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add category handling to RasterWorkerPool This change causes RasterWorkerPool to handle task categories. To do this RasterWorkerPool assigns specific task categories to each of its threads. As I've been having trouble showing a clear win/loss for using a single thread for background tasks, this is behind a flag "--use-single-thread-for-background-raster-tasks", allowing us to test this more. BUG=564260 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel CQ_EXTRA_TRYBOTS=tryserver.chromium.perf:linux_perf_bisect;tryserver.chromium.perf:mac_10_10_perf_bisect;tryserver.chromium.perf:win_perf_bisect Committed: https://crrev.com/7795c700d046679b159ca6c7f0b2e479355c9fb2 Cr-Commit-Position: refs/heads/master@{#370812}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : rebase #

Patch Set 5 : improve comments #

Patch Set 6 : comments #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Total comments: 7

Patch Set 13 : feedback #

Total comments: 2

Patch Set 14 : nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -50 lines) Patch
M content/renderer/raster_worker_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +14 lines, -10 lines 0 comments Download
M content/renderer/raster_worker_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 8 chunks +77 lines, -40 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
ericrk
4 years, 11 months ago (2016-01-13 22:41:45 UTC) #8
reveman
https://codereview.chromium.org/1576133002/diff/230001/content/public/common/content_switches.h File content/public/common/content_switches.h (right): https://codereview.chromium.org/1576133002/diff/230001/content/public/common/content_switches.h#newcode235 content/public/common/content_switches.h:235: CONTENT_EXPORT extern const char kUseSingleThreadForBackgroundRasterTasks[]; nit: Remove "Raster" as ...
4 years, 11 months ago (2016-01-13 23:09:30 UTC) #9
ericrk
https://codereview.chromium.org/1576133002/diff/230001/content/public/common/content_switches.h File content/public/common/content_switches.h (right): https://codereview.chromium.org/1576133002/diff/230001/content/public/common/content_switches.h#newcode235 content/public/common/content_switches.h:235: CONTENT_EXPORT extern const char kUseSingleThreadForBackgroundRasterTasks[]; On 2016/01/13 23:09:30, reveman ...
4 years, 11 months ago (2016-01-21 01:19:45 UTC) #10
reveman
lgtm with nit Fyi, I'd like to give https://codereview.chromium.org/1616953003 a try after this lands. https://codereview.chromium.org/1576133002/diff/230001/content/renderer/raster_worker_pool.cc ...
4 years, 11 months ago (2016-01-21 17:12:24 UTC) #11
ericrk
https://codereview.chromium.org/1576133002/diff/250001/content/renderer/raster_worker_pool.cc File content/renderer/raster_worker_pool.cc (right): https://codereview.chromium.org/1576133002/diff/250001/content/renderer/raster_worker_pool.cc#newcode141 content/renderer/raster_worker_pool.cc:141: // them. On 2016/01/21 at 17:12:24, reveman wrote: > ...
4 years, 11 months ago (2016-01-21 17:30:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1576133002/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1576133002/270001
4 years, 11 months ago (2016-01-21 17:30:56 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/137708)
4 years, 11 months ago (2016-01-21 17:39:00 UTC) #17
ericrk
+sievers for owners. Thanks!
4 years, 11 months ago (2016-01-21 17:40:17 UTC) #19
no sievers
lgtm
4 years, 11 months ago (2016-01-21 19:56:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1576133002/270001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1576133002/270001
4 years, 11 months ago (2016-01-21 22:43:56 UTC) #22
commit-bot: I haz the power
Committed patchset #14 (id:270001)
4 years, 11 months ago (2016-01-21 22:49:28 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 22:50:56 UTC) #26
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/7795c700d046679b159ca6c7f0b2e479355c9fb2
Cr-Commit-Position: refs/heads/master@{#370812}

Powered by Google App Engine
This is Rietveld 408576698