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

Issue 1100713004: Reserve space in the resource ID set. (Closed)

Created:
5 years, 8 months ago by jbauman
Modified:
5 years, 7 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reserve space in the resource ID set. Roughly every resource transferred should be used, so reserve that much space in the set. This improves performance on the SurfaceAggregator perftests by around 10%. Committed: https://crrev.com/bf22ae4e24ec9fd558c868ab6720f53138f95cb4 Cr-Commit-Position: refs/heads/master@{#327394}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M cc/layers/delegated_renderer_layer_impl.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M cc/surfaces/surface_aggregator.cc View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (2 generated)
jbauman
5 years, 8 months ago (2015-04-25 02:07:46 UTC) #2
danakj
https://codereview.chromium.org/1100713004/diff/40001/cc/surfaces/surface_aggregator.cc File cc/surfaces/surface_aggregator.cc (right): https://codereview.chromium.org/1100713004/diff/40001/cc/surfaces/surface_aggregator.cc#newcode174 cc/surfaces/surface_aggregator.cc:174: std::max(static_cast<size_t>(1), frame_data->resource_list.size()); why the Max 1? https://codereview.chromium.org/1100713004/diff/40001/cc/surfaces/surface_aggregator.cc#newcode178 cc/surfaces/surface_aggregator.cc:178: // ...
5 years, 8 months ago (2015-04-25 17:16:44 UTC) #3
jbauman
PTAL On 2015/04/25 17:16:44, danakj wrote: > https://codereview.chromium.org/1100713004/diff/40001/cc/surfaces/surface_aggregator.cc > File cc/surfaces/surface_aggregator.cc (right): > > https://codereview.chromium.org/1100713004/diff/40001/cc/surfaces/surface_aggregator.cc#newcode174 ...
5 years, 8 months ago (2015-04-28 02:44:58 UTC) #4
danakj
On Mon, Apr 27, 2015 at 7:44 PM, <jbauman@chromium.org> wrote: > PTAL > > On ...
5 years, 7 months ago (2015-04-28 17:23:08 UTC) #5
danakj
https://codereview.chromium.org/1100713004/diff/60001/cc/layers/delegated_renderer_layer_impl.cc File cc/layers/delegated_renderer_layer_impl.cc (right): https://codereview.chromium.org/1100713004/diff/60001/cc/layers/delegated_renderer_layer_impl.cc#newcode127 cc/layers/delegated_renderer_layer_impl.cc:127: std::max(static_cast<size_t>(1), frame_data->resource_list.size()); actually instead of max(1,..) can you just ...
5 years, 7 months ago (2015-04-28 17:25:46 UTC) #6
jbauman
Ok, PTAL.
5 years, 7 months ago (2015-04-28 21:59:36 UTC) #7
danakj
Thanks! LGTM
5 years, 7 months ago (2015-04-28 22:00:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1100713004/80001
5 years, 7 months ago (2015-04-28 22:02:10 UTC) #10
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-04-28 23:56:59 UTC) #11
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 23:57:51 UTC) #12
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bf22ae4e24ec9fd558c868ab6720f53138f95cb4
Cr-Commit-Position: refs/heads/master@{#327394}

Powered by Google App Engine
This is Rietveld 408576698