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

Issue 1319473003: [tracing] Add SkResourceCache statistics to chrome://tracing (chrome side) (Closed)

Created:
5 years, 4 months ago by ssid
Modified:
5 years, 3 months ago
CC:
chromium-reviews, Primiano Tucci (use gerrit)
Base URL:
https://chromium.googlesource.com/chromium/src.git@discardable_objdumps
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Add SkResourceCache statistics to chrome://tracing (chrome side) This CL adds the statistics of SkResourceCache to tracing. See crrev.com/1313793004 for the skia side changes. BUG=503168 Committed: https://crrev.com/70405030c538d9075a7ddaf7ba212e4be3b558cf Cr-Commit-Position: refs/heads/master@{#347207}

Patch Set 1 #

Patch Set 2 : Fixes. #

Patch Set 3 : Nits. #

Patch Set 4 : Add files. #

Patch Set 5 : Nits. #

Total comments: 13

Patch Set 6 : Fixing setBacking. #

Patch Set 7 : Adding DCHECK. #

Total comments: 12

Patch Set 8 : Nits. #

Patch Set 9 : Comments. #

Total comments: 1

Patch Set 10 : Rebase. #

Patch Set 11 : Adding getter. #

Patch Set 12 : Rebase. #

Total comments: 10

Patch Set 13 : Style fixes. #

Patch Set 14 : Nits. #

Patch Set 15 : Fixes. #

Patch Set 16 : Remove total dump and trust discardable. #

Patch Set 17 : Fixes. #

Patch Set 18 : Nits. #

Patch Set 19 : Test fix. #

Patch Set 20 : Fix nit. #

Patch Set 21 : Mac build fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -13 lines) Patch
M skia/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M skia/ext/SkDiscardableMemory_chrome.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M skia/ext/SkDiscardableMemory_chrome.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download
A skia/ext/SkTraceMemoryDump_chrome.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +68 lines, -0 lines 0 comments Download
A skia/ext/SkTraceMemoryDump_chrome.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +76 lines, -0 lines 0 comments Download
M skia/ext/skia_memory_dump_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +16 lines, -11 lines 0 comments Download
M skia/ext/skia_memory_dump_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -2 lines 0 comments Download
M skia/skia_chrome.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (7 generated)
ssid
PTAL, Thanks
5 years, 4 months ago (2015-08-25 19:51:10 UTC) #2
ericrk
Looks good overall - a few comments. https://codereview.chromium.org/1319473003/diff/80001/skia/ext/SkTraceMemoryDump_chrome.cc File skia/ext/SkTraceMemoryDump_chrome.cc (right): https://codereview.chromium.org/1319473003/diff/80001/skia/ext/SkTraceMemoryDump_chrome.cc#newcode34 skia/ext/SkTraceMemoryDump_chrome.cc:34: auto mad ...
5 years, 4 months ago (2015-08-25 20:14:50 UTC) #3
ssid
https://codereview.chromium.org/1319473003/diff/80001/skia/ext/SkTraceMemoryDump_chrome.cc File skia/ext/SkTraceMemoryDump_chrome.cc (right): https://codereview.chromium.org/1319473003/diff/80001/skia/ext/SkTraceMemoryDump_chrome.cc#newcode34 skia/ext/SkTraceMemoryDump_chrome.cc:34: auto mad = process_memory_dump_->CreateAllocatorDump(dumpName); On 2015/08/25 20:14:50, ericrk wrote: ...
5 years, 4 months ago (2015-08-25 20:43:54 UTC) #4
ericrk
https://codereview.chromium.org/1319473003/diff/80001/skia/ext/SkTraceMemoryDump_chrome.cc File skia/ext/SkTraceMemoryDump_chrome.cc (right): https://codereview.chromium.org/1319473003/diff/80001/skia/ext/SkTraceMemoryDump_chrome.cc#newcode34 skia/ext/SkTraceMemoryDump_chrome.cc:34: auto mad = process_memory_dump_->CreateAllocatorDump(dumpName); On 2015/08/25 at 20:43:54, ssid ...
5 years, 4 months ago (2015-08-25 20:49:56 UTC) #5
ssid
+primiano In the discardable memory case I had assumed that the skia is not going ...
5 years, 4 months ago (2015-08-25 21:03:25 UTC) #7
ssid
Had a chat offline, and we keep the setBacking api same and the discardable is ...
5 years, 3 months ago (2015-08-26 14:17:54 UTC) #9
Primiano Tucci (use gerrit)
some comment here and there but in general LGTM. Wait for erivrk to confirm though ...
5 years, 3 months ago (2015-08-26 15:34:01 UTC) #11
ssid
Thanks. Sorry I had updated the CL while you were reviewing. Mostly the changes you ...
5 years, 3 months ago (2015-08-26 15:45:19 UTC) #12
ericrk
LGTM - my only comment is that I think I'll need to subclass this, both ...
5 years, 3 months ago (2015-08-26 18:12:06 UTC) #13
ssid
+reed This CL makes the chrome side changes for implementing the SkTraceDump. PTAL. Thanks
5 years, 3 months ago (2015-08-26 18:36:46 UTC) #15
ssid
This is chrome side changes for tracing. PTAL, thanks.
5 years, 3 months ago (2015-08-27 14:18:55 UTC) #16
Primiano Tucci (use gerrit)
some extra small comments on the new patchset, LGTM still holds from my viewpoint. https://codereview.chromium.org/1319473003/diff/220001/skia/ext/SkTraceMemoryDump_chrome.cc ...
5 years, 3 months ago (2015-08-30 18:28:36 UTC) #17
ssid
I will make the style changes, thanks. https://codereview.chromium.org/1319473003/diff/220001/skia/ext/SkTraceMemoryDump_chrome.cc File skia/ext/SkTraceMemoryDump_chrome.cc (right): https://codereview.chromium.org/1319473003/diff/220001/skia/ext/SkTraceMemoryDump_chrome.cc#newcode37 skia/ext/SkTraceMemoryDump_chrome.cc:37: auto dump ...
5 years, 3 months ago (2015-08-30 23:11:24 UTC) #18
ssid
Made all changes suggested / discussed. reed@ Please take a look. ericrk@ I added a ...
5 years, 3 months ago (2015-09-02 12:59:52 UTC) #19
reed1
rubber-stamp lgtm
5 years, 3 months ago (2015-09-02 15:03:26 UTC) #20
ericrk
On 2015/09/02 12:59:52, ssid wrote: > Made all changes suggested / discussed. > > reed@ ...
5 years, 3 months ago (2015-09-02 17:35:24 UTC) #21
ssid
On 2015/09/02 17:35:24, ericrk wrote: > On 2015/09/02 12:59:52, ssid wrote: > > Made all ...
5 years, 3 months ago (2015-09-02 17:37:26 UTC) #22
ericrk
On 2015/09/02 17:37:26, ssid wrote: > On 2015/09/02 17:35:24, ericrk wrote: > > On 2015/09/02 ...
5 years, 3 months ago (2015-09-02 22:32:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1319473003/330008 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1319473003/330008
5 years, 3 months ago (2015-09-03 19:03:59 UTC) #26
commit-bot: I haz the power
Committed patchset #21 (id:330008)
5 years, 3 months ago (2015-09-03 19:10:21 UTC) #27
commit-bot: I haz the power
5 years, 3 months ago (2015-09-03 19:10:52 UTC) #28
Message was sent while issue was closed.
Patchset 21 (id:??) landed as
https://crrev.com/70405030c538d9075a7ddaf7ba212e4be3b558cf
Cr-Commit-Position: refs/heads/master@{#347207}

Powered by Google App Engine
This is Rietveld 408576698