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

Issue 15861007: Deep Memory Profiler: skip non-existing or empty files. (Closed)

Created:
7 years, 7 months ago by bulach
Modified:
7 years, 6 months ago
CC:
chromium-reviews, dmikurube+memory_chromium.org
Visibility:
Public.

Description

Deep Memory Profiler: skip non-existing or empty files. Sometimes the dump series is not complete, or contains files with 0 bytes. Rather than bailing out entirely, just skip those files. This can happen for instance when using Telemetry-driven tests: - each "page" on a "page set" is a different test, and will contain its own set of "heap dumps" - however, the "page set" itself is long running, so whilst telemetry fetches heap dumps, chrome is still running and generating dumps that aren't interesting. - before starting the next page, telemetry removes all those spurious dumps - the final set of dump files contains "holes", but that's fine. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202859

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -4 lines) Patch
M tools/deep_memory_profiler/dmprof.py View 2 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
bulach
hey dai, this patch makes dmprof a bit more relaxed with the dump files, please ...
7 years, 7 months ago (2013-05-24 15:47:23 UTC) #1
Dai Mikurube (NOT FULLTIME)
Hmm, did you see a case that "middle" files are lost or empty? I knew ...
7 years, 7 months ago (2013-05-27 05:05:34 UTC) #2
bulach
on some telemetry-based tests, those "profilers" there fetch the set of files per page, then ...
7 years, 6 months ago (2013-05-28 11:23:27 UTC) #3
Dai Mikurube (NOT FULLTIME)
Makes sense. LGTM. Could you add some description of such a case in the commit ...
7 years, 6 months ago (2013-05-29 04:43:05 UTC) #4
bulach
thanks dai! I edited the commit message, please let me know if it's any clear. ...
7 years, 6 months ago (2013-05-29 10:15:14 UTC) #5
Dai Mikurube (NOT FULLTIME)
Looks good. Please land it. :)
7 years, 6 months ago (2013-05-29 10:28:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/15861007/1
7 years, 6 months ago (2013-05-29 10:45:03 UTC) #7
bulach
thanks! :)
7 years, 6 months ago (2013-05-29 10:45:04 UTC) #8
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 13:52:07 UTC) #9
Message was sent while issue was closed.
Change committed as 202859

Powered by Google App Engine
This is Rietveld 408576698