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

Issue 1127153006: cc: Compute picture pile size at construction time. (Closed)

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

Description

cc: Compute picture pile size at construction time. We log picture size in UMA histograms every time we prepare to draw. In order to make that code faster, precompute the pile size when it is constructed. R=jbroman, enne Committed: https://crrev.com/bf32c2a4319d84bdde05e0a5ea88cb34c2d9f8f5 Cr-Commit-Position: refs/heads/master@{#329773}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -13 lines) Patch
M cc/resources/picture_pile_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cc/resources/picture_pile_impl.cc View 1 2 4 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
vmpstr
Hi, I was going through some profiling results, and I noticed that this GetPictureMemoryUsage appears ...
5 years, 7 months ago (2015-05-13 22:25:40 UTC) #2
enne (OOO)
I could be ok with landing this, but I'm not super fond of making edge ...
5 years, 7 months ago (2015-05-13 22:42:41 UTC) #3
vmpstr
I did it in the constructor that constructs pile impl out the pile, which happens ...
5 years, 7 months ago (2015-05-13 23:17:18 UTC) #4
enne (OOO)
lgtm
5 years, 7 months ago (2015-05-13 23:24:29 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1127153006/40001
5 years, 7 months ago (2015-05-13 23:25:32 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 7 months ago (2015-05-14 01:36:37 UTC) #8
commit-bot: I haz the power
5 years, 7 months ago (2015-05-14 01:37:23 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bf32c2a4319d84bdde05e0a5ea88cb34c2d9f8f5
Cr-Commit-Position: refs/heads/master@{#329773}

Powered by Google App Engine
This is Rietveld 408576698