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

Issue 2123713005: [Telemetry] Add MeasureMemory method to action_runner (Closed)

Created:
4 years, 5 months ago by perezju
Modified:
4 years, 4 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Base URL:
git@github.com:catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[Telemetry] Add MeasureMemory method to action_runner The method is intended to unify the way in which stories can request memory dumps. Design doc: https://docs.google.com/a/google.com/document/d/1mAXsOik83G5QSG8SKr0w-szkIzwH-6MQ-lZoIkPDzc4/edit?usp=sharing BUG=chromium:625657 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/ff42a341b88b0b1c4c995d34160f259db16edde3

Patch Set 1 #

Total comments: 5

Patch Set 2 : added tests (+nits) #

Total comments: 3

Patch Set 3 : assert dumps in trace #

Patch Set 4 : rebase #

Patch Set 5 : fixed tests #

Patch Set 6 : add logging for debug #

Patch Set 7 : only test dumps exist #

Patch Set 8 : temp. disable dump repr test #

Patch Set 9 : check dump_id, add more logging #

Patch Set 10 : rebase #

Patch Set 11 : relax mmaps check #

Patch Set 12 : clean up #

Patch Set 13 : disable on reference #

Total comments: 7

Patch Set 14 : rephrase comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -6 lines) Patch
M telemetry/telemetry/core/platform.py View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/actions/action_runner.py View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +33 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/actions/action_runner_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +55 lines, -1 line 0 comments Download
M telemetry/telemetry/internal/platform/android_platform_backend.py View 1 2 3 4 6 chunks +11 lines, -5 lines 0 comments Download
M telemetry/telemetry/internal/platform/platform_backend.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 69 (41 generated)
perezju
This is how the MeasureMemory method would look like. And see https://codereview.chromium.org/2123713006 for an example ...
4 years, 5 months ago (2016-07-07 11:14:10 UTC) #2
petrcermak
LGTM with 2 comments. Thanks, Petr https://codereview.chromium.org/2123713005/diff/1/telemetry/telemetry/internal/actions/action_runner.py File telemetry/telemetry/internal/actions/action_runner.py (right): https://codereview.chromium.org/2123713005/diff/1/telemetry/telemetry/internal/actions/action_runner.py#newcode31 telemetry/telemetry/internal/actions/action_runner.py:31: DUMP_WAIT_TIME = 3 ...
4 years, 5 months ago (2016-07-07 13:01:32 UTC) #3
nednguyen
lgtm Can you add test coverage?
4 years, 5 months ago (2016-07-07 20:55:36 UTC) #4
perezju
I've added tests. PTAL. https://codereview.chromium.org/2123713005/diff/1/telemetry/telemetry/internal/actions/action_runner.py File telemetry/telemetry/internal/actions/action_runner.py (right): https://codereview.chromium.org/2123713005/diff/1/telemetry/telemetry/internal/actions/action_runner.py#newcode31 telemetry/telemetry/internal/actions/action_runner.py:31: DUMP_WAIT_TIME = 3 On 2016/07/07 ...
4 years, 5 months ago (2016-07-08 10:53:48 UTC) #6
nednguyen
https://codereview.chromium.org/2123713005/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): https://codereview.chromium.org/2123713005/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py#newcode67 telemetry/telemetry/internal/actions/action_runner_unittest.py:67: with mock.patch.object(self._tab.browser, 'DumpMemory') as mock_method: Can we not use ...
4 years, 5 months ago (2016-07-08 11:15:00 UTC) #7
perezju
https://codereview.chromium.org/2123713005/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): https://codereview.chromium.org/2123713005/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py#newcode67 telemetry/telemetry/internal/actions/action_runner_unittest.py:67: with mock.patch.object(self._tab.browser, 'DumpMemory') as mock_method: On 2016/07/08 11:15:00, nednguyen ...
4 years, 5 months ago (2016-07-08 11:25:44 UTC) #8
nednguyen
lgtm https://codereview.chromium.org/2123713005/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): https://codereview.chromium.org/2123713005/diff/20001/telemetry/telemetry/internal/actions/action_runner_unittest.py#newcode67 telemetry/telemetry/internal/actions/action_runner_unittest.py:67: with mock.patch.object(self._tab.browser, 'DumpMemory') as mock_method: On 2016/07/08 11:25:44, ...
4 years, 5 months ago (2016-07-08 11:30:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123713005/40001
4 years, 5 months ago (2016-07-08 13:15:53 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Mac Tryserver on master.tryserver.client.catapult (JOB_FAILED, no build URL)
4 years, 5 months ago (2016-07-08 13:28:39 UTC) #14
perezju
On 2016/07/08 13:28:39, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 5 months ago (2016-07-08 13:38:21 UTC) #15
nednguyen
On 2016/07/08 13:38:21, perezju wrote: > On 2016/07/08 13:28:39, commit-bot: I haz the power wrote: ...
4 years, 5 months ago (2016-07-08 13:51:55 UTC) #17
nednguyen
On 2016/07/08 13:51:55, nednguyen wrote: > On 2016/07/08 13:38:21, perezju wrote: > > On 2016/07/08 ...
4 years, 5 months ago (2016-07-12 15:42:33 UTC) #18
perezju
On 2016/07/12 15:42:33, nednguyen wrote: > On 2016/07/08 13:51:55, nednguyen wrote: > > On 2016/07/08 ...
4 years, 4 months ago (2016-07-28 15:39:10 UTC) #23
nednguyen
On 2016/07/28 15:39:10, perezju wrote: > On 2016/07/12 15:42:33, nednguyen wrote: > > On 2016/07/08 ...
4 years, 4 months ago (2016-07-28 21:45:52 UTC) #24
Primiano Tucci (use gerrit)
On 2016/07/28 21:45:52, nednguyen wrote: > Sorry, I don't know much about this. Primiano probably ...
4 years, 4 months ago (2016-07-29 15:43:30 UTC) #25
perezju
On 2016/07/29 15:43:30, Primiano Tucci wrote: > On 2016/07/28 21:45:52, nednguyen wrote: > > Sorry, ...
4 years, 4 months ago (2016-08-03 17:16:05 UTC) #42
Primiano Tucci (use gerrit)
Thanks a lot Juan for the Trace. It seems an actual bug in the chromium ...
4 years, 4 months ago (2016-08-04 09:09:17 UTC) #43
Primiano Tucci (use gerrit)
Yeah I think this is a problem with ref builds. Any chance we can disable ...
4 years, 4 months ago (2016-08-04 09:11:17 UTC) #44
perezju
yay! finally all trybots are green. Had a chat offline with petr and primiano; indeed ...
4 years, 4 months ago (2016-08-04 10:24:46 UTC) #51
nednguyen
On 2016/08/04 10:24:46, perezju wrote: > yay! finally all trybots are green. > > Had ...
4 years, 4 months ago (2016-08-04 10:37:11 UTC) #52
perezju
On 2016/08/04 10:37:11, nednguyen wrote: > On 2016/08/04 10:24:46, perezju wrote: > > yay! finally ...
4 years, 4 months ago (2016-08-04 11:06:43 UTC) #55
nednguyen
On 2016/08/04 11:06:43, perezju wrote: > On 2016/08/04 10:37:11, nednguyen wrote: > > On 2016/08/04 ...
4 years, 4 months ago (2016-08-04 12:12:40 UTC) #56
perezju
On 2016/08/04 12:12:40, nednguyen wrote: > On 2016/08/04 11:06:43, perezju wrote: > > Maybe I'm ...
4 years, 4 months ago (2016-08-04 12:49:09 UTC) #57
nednguyen
lgtm
4 years, 4 months ago (2016-08-04 12:56:36 UTC) #60
petrcermak
Still LGTM with a few more comments. Thanks, Petr https://codereview.chromium.org/2123713005/diff/240001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): https://codereview.chromium.org/2123713005/diff/240001/telemetry/telemetry/internal/actions/action_runner_unittest.py#newcode71 telemetry/telemetry/internal/actions/action_runner_unittest.py:71: ...
4 years, 4 months ago (2016-08-04 13:13:38 UTC) #61
perezju
https://codereview.chromium.org/2123713005/diff/240001/telemetry/telemetry/internal/actions/action_runner_unittest.py File telemetry/telemetry/internal/actions/action_runner_unittest.py (right): https://codereview.chromium.org/2123713005/diff/240001/telemetry/telemetry/internal/actions/action_runner_unittest.py#newcode83 telemetry/telemetry/internal/actions/action_runner_unittest.py:83: # If successful, check that we can find our ...
4 years, 4 months ago (2016-08-04 14:07:35 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2123713005/260001
4 years, 4 months ago (2016-08-04 14:11:04 UTC) #67
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 15:13:24 UTC) #69
Message was sent while issue was closed.
Committed patchset #14 (id:260001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698