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

Issue 674263002: SkVarAlloc (Closed)

Created:
6 years, 2 months ago by mtklein_C
Modified:
6 years, 1 month ago
Reviewers:
mtklein, reed1
CC:
reviews_skia.org, Stephen Chennney
Base URL:
https://skia.googlesource.com/skia.git@master
Project:
skia
Visibility:
Public.

Description

SkVarAlloc Like SkChunkAlloc, but - does its allocation with better sympathy for malloc granularity; - the fast path inlines entirely; - smaller per-block overhead; - smaller per-SkVarAlloc overhead; - growth parameters are a little more tunable. Its main downside is less flexibility; it supports fewer methods than SkChunkAlloc. These current parameters bring the first allocation down from 4K to 1K, without affecting recording time on my desktop. skiaperf.com will tell the whole story. BUG=skia: Committed: https://skia.googlesource.com/skia/+/8113dd13692bc2e1fe804141d04b2cc5f03a55be

Patch Set 1 #

Patch Set 2 : linux too #

Total comments: 2

Patch Set 3 : Explicit truncation. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -5 lines) Patch
M gyp/core.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/core/SkRecord.h View 4 chunks +4 lines, -5 lines 0 comments Download
A src/core/SkVarAlloc.h View 1 chunk +40 lines, -0 lines 0 comments Download
A src/core/SkVarAlloc.cpp View 1 2 1 chunk +56 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
mtklein
6 years, 1 month ago (2014-11-12 21:57:51 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674263002/20001
6 years, 1 month ago (2014-11-12 22:02:43 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
6 years, 1 month ago (2014-11-12 22:02:44 UTC) #5
reed1
lgtm w/ comments https://codereview.chromium.org/674263002/diff/20001/src/core/SkVarAlloc.cpp File src/core/SkVarAlloc.cpp (right): https://codereview.chromium.org/674263002/diff/20001/src/core/SkVarAlloc.cpp#newcode48 src/core/SkVarAlloc.cpp:48: fSmallest = SkToUInt(fSmallest * fGrowth); I ...
6 years, 1 month ago (2014-11-12 22:12:25 UTC) #6
mtklein
https://codereview.chromium.org/674263002/diff/20001/src/core/SkVarAlloc.cpp File src/core/SkVarAlloc.cpp (right): https://codereview.chromium.org/674263002/diff/20001/src/core/SkVarAlloc.cpp#newcode48 src/core/SkVarAlloc.cpp:48: fSmallest = SkToUInt(fSmallest * fGrowth); On 2014/11/12 22:12:25, reed1 ...
6 years, 1 month ago (2014-11-12 22:23:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674263002/40001
6 years, 1 month ago (2014-11-12 22:23:52 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/637)
6 years, 1 month ago (2014-11-12 22:41:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674263002/40001
6 years, 1 month ago (2014-11-12 22:50:16 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot on client.skia (http://build.chromium.org/p/client.skia/builders/Test-Ubuntu13.10-GCE-NoGPU-x86_64-Debug-Trybot/builds/639)
6 years, 1 month ago (2014-11-12 23:05:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/674263002/40001
6 years, 1 month ago (2014-11-12 23:07:23 UTC) #17
commit-bot: I haz the power
6 years, 1 month ago (2014-11-12 23:15:32 UTC) #18
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://skia.googlesource.com/skia/+/8113dd13692bc2e1fe804141d04b2cc5f03a55be

Powered by Google App Engine
This is Rietveld 408576698