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

Issue 11418130: Add a test for SymbolMappingCache in tools/deep_memory_profiler/dmprof.py. (Closed)

Created:
8 years ago by Dai Mikurube (NOT FULLTIME)
Modified:
8 years ago
CC:
chromium-reviews, pam+watch_chromium.org, dmikurube+memory_chromium.org
Visibility:
Public.

Description

Add a test for SymbolMappingCache in tools/deep_memory_profiler/dmprof.py. BUG=123749 NOTRY=true Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169564

Patch Set 1 #

Patch Set 2 : added a test #

Total comments: 2

Patch Set 3 : updated #

Patch Set 4 : updated #

Total comments: 6

Patch Set 5 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+238 lines, -154 lines) Patch
M tools/deep_memory_profiler/dmprof.py View 1 2 3 4 5 chunks +101 lines, -90 lines 0 comments Download
M tools/deep_memory_profiler/tests/dmprof_test.py View 1 2 3 2 chunks +137 lines, -64 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Dai Mikurube (NOT FULLTIME)
Hi, Could you take a look when you have time? It adds a test for ...
8 years ago (2012-11-26 07:11:17 UTC) #1
jochen (gone - plz use gerrit)
the CL is quite involved, maybe it was easier to review if you first added ...
8 years ago (2012-11-26 09:31:52 UTC) #2
Dai Mikurube (NOT FULLTIME)
Thanks. Actually, this refactoring is to make SymbolMappingCache testable (especially for SymbolFinder). The previous version ...
8 years ago (2012-11-26 09:41:45 UTC) #3
Dai Mikurube (NOT FULLTIME)
Patch Set 4 uses textwrap.dedent in PolicyTest.
8 years ago (2012-11-26 09:46:12 UTC) #4
M-A Ruel
lgtm https://codereview.chromium.org/11418130/diff/1002/tools/deep_memory_profiler/dmprof.py File tools/deep_memory_profiler/dmprof.py (right): https://codereview.chromium.org/11418130/diff/1002/tools/deep_memory_profiler/dmprof.py#newcode187 tools/deep_memory_profiler/dmprof.py:187: _FIND_RUNTIME_SYMBOLS_FUNCTIONS = { good idea https://codereview.chromium.org/11418130/diff/1002/tools/deep_memory_profiler/dmprof.py#newcode232 tools/deep_memory_profiler/dmprof.py:232: cache_f.seek(0, ...
8 years ago (2012-11-26 15:43:50 UTC) #5
Dai Mikurube (NOT FULLTIME)
Thanks! I'll be committing. https://codereview.chromium.org/11418130/diff/1002/tools/deep_memory_profiler/dmprof.py File tools/deep_memory_profiler/dmprof.py (right): https://codereview.chromium.org/11418130/diff/1002/tools/deep_memory_profiler/dmprof.py#newcode187 tools/deep_memory_profiler/dmprof.py:187: _FIND_RUNTIME_SYMBOLS_FUNCTIONS = { On 2012/11/26 ...
8 years ago (2012-11-27 02:53:37 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/11418130/5004
8 years ago (2012-11-27 02:54:06 UTC) #7
commit-bot: I haz the power
8 years ago (2012-11-27 03:07:09 UTC) #8
Message was sent while issue was closed.
Change committed as 169564

Powered by Google App Engine
This is Rietveld 408576698