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

Issue 172783002: cc: Avoid scheduling empty raster task queue whenever possible. (Closed)

Created:
6 years, 10 months ago by reveman
Modified:
6 years, 10 months ago
Reviewers:
vmpstr, alokp
CC:
chromium-reviews, cc-bugs_chromium.org
Visibility:
Public.

Description

cc: Avoid scheduling empty raster task queue whenever possible. Track if raster worker pool instances have pending tasks and avoid scheduling of empty task queue unless raster worker pool has pending tasks. BUG=269841 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252280

Patch Set 1 #

Patch Set 2 : v2 #

Total comments: 4

Patch Set 3 : v3 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -10 lines) Patch
M cc/resources/raster_worker_pool_delegate.h View 1 2 2 chunks +8 lines, -0 lines 0 comments Download
M cc/resources/raster_worker_pool_delegate.cc View 1 2 4 chunks +61 lines, -10 lines 1 comment Download

Messages

Total messages: 11 (0 generated)
reveman
6 years, 10 months ago (2014-02-19 22:47:38 UTC) #1
vmpstr
https://codereview.chromium.org/172783002/diff/30001/cc/resources/raster_worker_pool_delegate.cc File cc/resources/raster_worker_pool_delegate.cc (right): https://codereview.chromium.org/172783002/diff/30001/cc/resources/raster_worker_pool_delegate.cc#newcode18 cc/resources/raster_worker_pool_delegate.cc:18: has_pending_tasks_(raster_worker_pools_.size(), false), I'd prefer "num_raster_worker_pools" here to make sure ...
6 years, 10 months ago (2014-02-19 23:04:40 UTC) #2
vmpstr
https://codereview.chromium.org/172783002/diff/30001/cc/resources/raster_worker_pool_delegate.cc File cc/resources/raster_worker_pool_delegate.cc (right): https://codereview.chromium.org/172783002/diff/30001/cc/resources/raster_worker_pool_delegate.cc#newcode56 cc/resources/raster_worker_pool_delegate.cc:56: has_pending_tasks_[i] = true; On 2014/02/19 23:04:40, vmpstr wrote: > ...
6 years, 10 months ago (2014-02-19 23:05:24 UTC) #3
reveman
Renamed has_pending_tasks_ to did_finish_running_tasks_pending_ as discussed. https://codereview.chromium.org/172783002/diff/30001/cc/resources/raster_worker_pool_delegate.cc File cc/resources/raster_worker_pool_delegate.cc (right): https://codereview.chromium.org/172783002/diff/30001/cc/resources/raster_worker_pool_delegate.cc#newcode18 cc/resources/raster_worker_pool_delegate.cc:18: has_pending_tasks_(raster_worker_pools_.size(), false), On ...
6 years, 10 months ago (2014-02-20 00:11:53 UTC) #4
vmpstr
lgtm
6 years, 10 months ago (2014-02-20 01:03:44 UTC) #5
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 10 months ago (2014-02-20 01:05:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/172783002/90001
6 years, 10 months ago (2014-02-20 01:46:38 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/172783002/90001
6 years, 10 months ago (2014-02-20 05:17:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/172783002/90001
6 years, 10 months ago (2014-02-20 09:17:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/172783002/90001
6 years, 10 months ago (2014-02-20 12:33:27 UTC) #10
commit-bot: I haz the power
6 years, 10 months ago (2014-02-20 17:06:37 UTC) #11
Message was sent while issue was closed.
Change committed as 252280

Powered by Google App Engine
This is Rietveld 408576698