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

Issue 2801603010: Convert cc::PropertyTree to use a flat_map. (Closed)

Created:
3 years, 8 months ago by brettw
Modified:
3 years, 8 months ago
Reviewers:
weiliangc
CC:
cc-bugs_chromium.org, chromium-reviews, ajuma, pdr., wkorman, chrishtr
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert cc::PropertyTree to use a flat_map. These maps are typically very small (see bug) and the unordered_map has a large memory overhead (both in terms of space and # of allocations). BUG=709243 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2801603010 Cr-Commit-Position: refs/heads/master@{#463524} Committed: https://chromium.googlesource.com/chromium/src/+/fb21662ee5c04e2bfa9de9e4b9a86e5f101c524e

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -8 lines) Patch
M cc/trees/property_tree.h View 3 chunks +9 lines, -6 lines 0 comments Download
M cc/trees/property_tree.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (12 generated)
brettw
Hi, I don't know too many details of the load of these property trees other ...
3 years, 8 months ago (2017-04-06 22:54:03 UTC) #6
weiliangc
LGTM This map is generally assumed to be small and should be removed as part ...
3 years, 8 months ago (2017-04-10 15:38:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2801603010/1
3 years, 8 months ago (2017-04-10 17:37:39 UTC) #11
brettw
Thanks, I'll submit this evening if I don't hear any feedback to the contrary.
3 years, 8 months ago (2017-04-10 20:45:56 UTC) #13
jaydasika
On 2017/04/10 20:45:56, brettw (plz ping after 24h) wrote: > Thanks, I'll submit this evening ...
3 years, 8 months ago (2017-04-10 21:08:11 UTC) #14
brettw
On 2017/04/10 21:08:11, jaydasika wrote: > On 2017/04/10 20:45:56, brettw (plz ping after 24h) wrote: ...
3 years, 8 months ago (2017-04-10 21:14:27 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2801603010/1
3 years, 8 months ago (2017-04-11 03:46:32 UTC) #17
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 04:02:56 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/fb21662ee5c04e2bfa9de9e4b9a8...

Powered by Google App Engine
This is Rietveld 408576698