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

Issue 261593008: DM: run child tasks that are already on the CPU threadpool serially (Closed)

Created:
6 years, 7 months ago by mtklein_C
Modified:
6 years, 7 months ago
Reviewers:
borenet, mtklein
CC:
skia-review_googlegroups.com, reed1, robertphillips
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

DM: run child tasks that are already on the CPU threadpool serially These tasks tend to do similar things with similar sized bitmaps, so running them serially means we tend to hold 2x bitmaps at a time (golden and comparison) instead of (1+k)x bitmaps (golden and k concurrent comparisons). We still migrate GPU task's children over to the main CPU thread pool, because they'll run faster there and free up capacity on the GPU thread. Before Debug: 54s, 2.9G peak Release: 13s, 2.4G peak After Debug: 48s, 1.5G peak Release: 15s, 2.0G peak BUG=skia:2478 Committed: http://code.google.com/p/skia/source/detail?r=14486

Patch Set 1 #

Patch Set 2 : oops #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -3 lines) Patch
M dm/DMTask.h View 3 chunks +5 lines, -1 line 0 comments Download
M dm/DMTask.cpp View 3 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mtklein
6 years, 7 months ago (2014-04-30 18:52:11 UTC) #1
borenet
LGTM with the caveat that I've never seen this code before.
6 years, 7 months ago (2014-04-30 20:35:27 UTC) #2
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 7 months ago (2014-04-30 20:41:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/261593008/20001
6 years, 7 months ago (2014-04-30 20:41:34 UTC) #4
mtklein
Now you have for next time. :)
6 years, 7 months ago (2014-04-30 20:42:32 UTC) #5
commit-bot: I haz the power
6 years, 7 months ago (2014-04-30 20:47:33 UTC) #6
Message was sent while issue was closed.
Change committed as 14486

Powered by Google App Engine
This is Rietveld 408576698