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

Issue 1253403002: [tracing] Adding Skia memory dump provider with cache totals (Closed)

Created:
5 years, 4 months ago by ssid
Modified:
5 years, 4 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[tracing] Adding Skia memory dump provider with cache totals This CL adds a dump provider to dump skia memory statistics to chrome://tracing. The dump provider dumps only the totals of SkGlyphCache and SkResourceCache. BUG=503168 Committed: https://crrev.com/59c9691634783108308bd54f3f1ea39f795235cb Cr-Commit-Position: refs/heads/master@{#340674}

Patch Set 1 #

Patch Set 2 : Nits. #

Total comments: 4

Patch Set 3 : Adding unittest. #

Patch Set 4 : Nits. #

Total comments: 3

Patch Set 5 : Including correct header. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -0 lines) Patch
M content/browser/browser_main_loop.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M skia/BUILD.gn View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
A skia/ext/skia_memory_dump_provider.h View 1 2 3 4 1 chunk +34 lines, -0 lines 0 comments Download
A skia/ext/skia_memory_dump_provider.cc View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A skia/ext/skia_memory_dump_provider_unittest.cc View 1 2 3 1 chunk +21 lines, -0 lines 0 comments Download
M skia/skia_chrome.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M skia/skia_tests.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (6 generated)
ssid
PTAL
5 years, 4 months ago (2015-07-27 15:36:00 UTC) #2
petrcermak
LGTM with two comments. Thanks, Petr https://codereview.chromium.org/1253403002/diff/20001/skia/ext/skia_memory_dump_provider.cc File skia/ext/skia_memory_dump_provider.cc (right): https://codereview.chromium.org/1253403002/diff/20001/skia/ext/skia_memory_dump_provider.cc#newcode36 skia/ext/skia_memory_dump_provider.cc:36: // TODO(ssid): crbug.com/503168. ...
5 years, 4 months ago (2015-07-27 15:45:39 UTC) #3
petrcermak
nit: Please remove fullstop from the end of the title and the first line. Thanks, ...
5 years, 4 months ago (2015-07-27 15:47:34 UTC) #4
ssid
Thanks for the review. Made changes suggested. https://codereview.chromium.org/1253403002/diff/20001/skia/ext/skia_memory_dump_provider.cc File skia/ext/skia_memory_dump_provider.cc (right): https://codereview.chromium.org/1253403002/diff/20001/skia/ext/skia_memory_dump_provider.cc#newcode36 skia/ext/skia_memory_dump_provider.cc:36: // TODO(ssid): ...
5 years, 4 months ago (2015-07-27 16:21:57 UTC) #5
ssid
+reed This is the first version of the skia memory dump in tracing. PTAL. Thanks.
5 years, 4 months ago (2015-07-27 16:24:14 UTC) #7
reed1
lgtm https://codereview.chromium.org/1253403002/diff/60001/skia/ext/skia_memory_dump_provider.h File skia/ext/skia_memory_dump_provider.h (right): https://codereview.chromium.org/1253403002/diff/60001/skia/ext/skia_memory_dump_provider.h#newcode8 skia/ext/skia_memory_dump_provider.h:8: #include "SkPreConfig.h" Hmmm, why do you need this? ...
5 years, 4 months ago (2015-07-27 19:11:47 UTC) #8
ssid
Thanks, please see comment inline. https://codereview.chromium.org/1253403002/diff/60001/skia/ext/skia_memory_dump_provider.h File skia/ext/skia_memory_dump_provider.h (right): https://codereview.chromium.org/1253403002/diff/60001/skia/ext/skia_memory_dump_provider.h#newcode8 skia/ext/skia_memory_dump_provider.h:8: #include "SkPreConfig.h" On 2015/07/27 ...
5 years, 4 months ago (2015-07-27 19:17:21 UTC) #9
ssid
+sievers PTAL at 4 lines content/ changes. This adds initialization in browser and renderer. Thanks.
5 years, 4 months ago (2015-07-27 19:27:56 UTC) #11
reed1
https://codereview.chromium.org/1253403002/diff/60001/skia/ext/skia_memory_dump_provider.h File skia/ext/skia_memory_dump_provider.h (right): https://codereview.chromium.org/1253403002/diff/60001/skia/ext/skia_memory_dump_provider.h#newcode8 skia/ext/skia_memory_dump_provider.h:8: #include "SkPreConfig.h" On 2015/07/27 19:17:21, ssid wrote: > On ...
5 years, 4 months ago (2015-07-27 20:13:49 UTC) #12
no sievers
content lgtm
5 years, 4 months ago (2015-07-27 21:36:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1253403002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1253403002/80001
5 years, 4 months ago (2015-07-28 12:29:13 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 4 months ago (2015-07-28 13:03:07 UTC) #18
commit-bot: I haz the power
5 years, 4 months ago (2015-07-28 13:03:39 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/59c9691634783108308bd54f3f1ea39f795235cb
Cr-Commit-Position: refs/heads/master@{#340674}

Powered by Google App Engine
This is Rietveld 408576698