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

Issue 13514003: Breakdown memory usage by source file names in dmprof. (Closed)

Created:
7 years, 8 months ago by Dai Mikurube (NOT FULLTIME)
Modified:
7 years, 8 months ago
Reviewers:
peria, M-A Ruel
CC:
chromium-reviews, dmikurube+memory_chromium.org
Visibility:
Public.

Description

Breakdown memory usage by source file names in dmprof. dmprof has classified memory usage by pattern-matching with function names. It adds another classification by pattern-matching with source file names. BUG=225343 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=193022

Patch Set 1 #

Patch Set 2 : upload again #

Patch Set 3 : updated #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : ready #

Patch Set 8 : #

Total comments: 10

Patch Set 9 : addressed the comments #

Total comments: 4

Patch Set 10 : addressed the comments #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -166 lines) Patch
M tools/deep_memory_profiler/dmprof.py View 1 2 3 4 5 6 7 8 9 25 chunks +132 lines, -78 lines 0 comments Download
M tools/deep_memory_profiler/policies.json View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A + tools/deep_memory_profiler/policy.sourcefile.json View 1 2 3 4 5 6 7 8 2 chunks +29 lines, -5 lines 0 comments Download
M tools/deep_memory_profiler/tests/dmprof_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +30 lines, -14 lines 0 comments Download
M tools/find_runtime_symbols/find_runtime_symbols.py View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +75 lines, -68 lines 0 comments Download
M tools/find_runtime_symbols/static_symbols.py View 1 2 3 4 5 6 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
Dai Mikurube (NOT FULLTIME)
Could you take a look also at this change when you have time? peria@: I ...
7 years, 8 months ago (2013-04-08 08:48:24 UTC) #1
peria
https://codereview.chromium.org/13514003/diff/13004/tools/deep_memory_profiler/policy.sourcefile.json File tools/deep_memory_profiler/policy.sourcefile.json (right): https://codereview.chromium.org/13514003/diff/13004/tools/deep_memory_profiler/policy.sourcefile.json#newcode105 tools/deep_memory_profiler/policy.sourcefile.json:105: "stacksourcefile": ".*../../v8/src/.*", This pattern may match with unexpected paths ...
7 years, 8 months ago (2013-04-08 10:24:09 UTC) #2
Dai Mikurube (NOT FULLTIME)
Fixed. Thank you! https://codereview.chromium.org/13514003/diff/13004/tools/deep_memory_profiler/policy.sourcefile.json File tools/deep_memory_profiler/policy.sourcefile.json (right): https://codereview.chromium.org/13514003/diff/13004/tools/deep_memory_profiler/policy.sourcefile.json#newcode105 tools/deep_memory_profiler/policy.sourcefile.json:105: "stacksourcefile": ".*../../v8/src/.*", On 2013/04/08 10:24:09, peria ...
7 years, 8 months ago (2013-04-08 10:54:37 UTC) #3
peria
lgtm
7 years, 8 months ago (2013-04-09 02:26:09 UTC) #4
M-A Ruel
lgtm https://codereview.chromium.org/13514003/diff/6002/tools/deep_memory_profiler/dmprof.py File tools/deep_memory_profiler/dmprof.py (right): https://codereview.chromium.org/13514003/diff/6002/tools/deep_memory_profiler/dmprof.py#newcode441 tools/deep_memory_profiler/dmprof.py:441: stackfunction = None stackfunction = rule.get('stackfunction') or rule.get('stracktrace') ...
7 years, 8 months ago (2013-04-09 03:25:17 UTC) #5
Dai Mikurube (NOT FULLTIME)
Thanks! https://codereview.chromium.org/13514003/diff/6002/tools/deep_memory_profiler/dmprof.py File tools/deep_memory_profiler/dmprof.py (right): https://codereview.chromium.org/13514003/diff/6002/tools/deep_memory_profiler/dmprof.py#newcode441 tools/deep_memory_profiler/dmprof.py:441: stackfunction = None On 2013/04/09 03:25:17, Marc-Antoine Ruel ...
7 years, 8 months ago (2013-04-09 04:31:52 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/13514003/26001
7 years, 8 months ago (2013-04-09 04:32:23 UTC) #7
commit-bot: I haz the power
Presubmit check for 13514003-26001 failed and returned exit status 1. INFO:root:Found 6 file(s). INFO:PRESUBMIT:Running pylint ...
7 years, 8 months ago (2013-04-09 04:32:32 UTC) #8
M-A Ruel
On 2013/04/09 04:32:32, I haz the power (commit-bot) wrote: > File > "/b/commit-queue/workdir/chromium/tools/deep_memory_profiler/tests/dmprof_test.py", > line ...
7 years, 8 months ago (2013-04-09 04:35:49 UTC) #9
Dai Mikurube (NOT FULLTIME)
On 2013/04/09 04:35:49, Marc-Antoine Ruel wrote: > On 2013/04/09 04:32:32, I haz the power (commit-bot) ...
7 years, 8 months ago (2013-04-09 05:06:02 UTC) #10
Dai Mikurube (NOT FULLTIME)
Committing with this change... Will revert if any problems.
7 years, 8 months ago (2013-04-09 05:20:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/13514003/37001
7 years, 8 months ago (2013-04-09 05:20:48 UTC) #12
commit-bot: I haz the power
Presubmit check for 13514003-37001 failed and returned exit status 1. INFO:root:Found 6 file(s). INFO:PRESUBMIT:Running pylint ...
7 years, 8 months ago (2013-04-09 05:20:58 UTC) #13
Dai Mikurube (NOT FULLTIME)
Ah... I'll take a look at this.
7 years, 8 months ago (2013-04-09 05:22:24 UTC) #14
Dai Mikurube (NOT FULLTIME)
The path added in sys.path was wrong. I actually tried importing OrderedDict from simplejson before ...
7 years, 8 months ago (2013-04-09 05:32:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/13514003/43001
7 years, 8 months ago (2013-04-09 05:32:52 UTC) #16
commit-bot: I haz the power
Presubmit check for 13514003-43001 failed and returned exit status 1. INFO:root:Found 6 file(s). INFO:PRESUBMIT:Running pylint ...
7 years, 8 months ago (2013-04-09 05:32:59 UTC) #17
Dai Mikurube (NOT FULLTIME)
Added pylint: disable, and run git cl presubmit in my local Python 2.6 environment...
7 years, 8 months ago (2013-04-09 05:38:18 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmikurube@chromium.org/13514003/50001
7 years, 8 months ago (2013-04-09 05:38:31 UTC) #19
commit-bot: I haz the power
7 years, 8 months ago (2013-04-09 05:46:15 UTC) #20
Message was sent while issue was closed.
Change committed as 193022

Powered by Google App Engine
This is Rietveld 408576698