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

Issue 1196253011: [Telemetry] Adding Memory Timeline Metric (Closed)

Created:
5 years, 6 months ago by perezju
Modified:
5 years, 5 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Adding Memory Timeline Metric Adding a metric that takes memory-infra events from tracing, classifies them into meaningful aggregates, and surfaces them to be reported as metric results by telemetry. BUG=486009 Committed: https://crrev.com/9786cc28c49d9b0637daf1cdcced0aacbc26b93f Cr-Commit-Position: refs/heads/master@{#337003}

Patch Set 1 #

Total comments: 43

Patch Set 2 : addressed comments from primiano #

Total comments: 12

Patch Set 3 : addressed comments from nednguyen #

Patch Set 4 : memory_timeline metric should use IterMemoryDumpEvents #

Total comments: 8

Patch Set 5 : addressed comments from eakuefner #

Total comments: 10

Patch Set 6 : return values for all dumps within interactions #

Total comments: 5

Patch Set 7 : better names for tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+628 lines, -1 line) Patch
A tools/telemetry/telemetry/timeline/memory_dump_event.py View 1 2 3 4 1 chunk +264 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/timeline/memory_dump_event_unittest.py View 1 2 1 chunk +96 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/timeline/model.py View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/timeline/trace_event_importer.py View 1 2 3 4 6 chunks +19 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/timeline/trace_event_importer_unittest.py View 1 2 1 chunk +46 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py View 1 2 3 4 5 1 chunk +40 lines, -0 lines 0 comments Download
A tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py View 1 2 3 4 5 6 1 chunk +131 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/web_perf/timeline_based_measurement.py View 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 26 (4 generated)
perezju
@primiano: most of the new code (on, e.g., how to aggregate and classify memory) sits ...
5 years, 6 months ago (2015-06-23 13:00:42 UTC) #2
Primiano Tucci (use gerrit)
Mostly nits, but the math and the aggregation in memory_dump_event and importer LGTM. Defer to ...
5 years, 6 months ago (2015-06-23 15:53:24 UTC) #3
nednguyen
On 2015/06/23 15:53:24, Primiano Tucci wrote: > Mostly nits, but the math and the aggregation ...
5 years, 6 months ago (2015-06-23 16:32:04 UTC) #4
perezju
Ned, I've run a benchmark (similar to the one in 1184393002) using the metric implemented ...
5 years, 6 months ago (2015-06-24 15:35:36 UTC) #5
nednguyen
5 years, 6 months ago (2015-06-24 15:52:08 UTC) #7
nednguyen
https://codereview.chromium.org/1196253011/diff/1/tools/telemetry/telemetry/timeline/model.py File tools/telemetry/telemetry/timeline/model.py (right): https://codereview.chromium.org/1196253011/diff/1/tools/telemetry/telemetry/timeline/model.py#newcode77 tools/telemetry/telemetry/timeline/model.py:77: def IterEventsInThisContainer(self, event_type_predicate, event_predicate): On 2015/06/24 15:35:35, perezju wrote: ...
5 years, 6 months ago (2015-06-25 02:05:37 UTC) #8
nednguyen
https://codereview.chromium.org/1196253011/diff/20001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1196253011/diff/20001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode214 tools/telemetry/telemetry/timeline/memory_dump_event.py:214: def __init__(self, events): Update documentation to says that these ...
5 years, 6 months ago (2015-06-25 02:19:13 UTC) #9
perezju
https://codereview.chromium.org/1196253011/diff/1/tools/telemetry/telemetry/timeline/model.py File tools/telemetry/telemetry/timeline/model.py (right): https://codereview.chromium.org/1196253011/diff/1/tools/telemetry/telemetry/timeline/model.py#newcode77 tools/telemetry/telemetry/timeline/model.py:77: def IterEventsInThisContainer(self, event_type_predicate, event_predicate): On 2015/06/25 02:05:37, nednguyen wrote: ...
5 years, 6 months ago (2015-06-25 10:36:48 UTC) #10
eakuefner
Style nit throughout: for docstrings where you have to continue a line on the next ...
5 years, 6 months ago (2015-06-25 15:56:20 UTC) #11
nednguyen
https://codereview.chromium.org/1196253011/diff/1/tools/telemetry/telemetry/timeline/model.py File tools/telemetry/telemetry/timeline/model.py (right): https://codereview.chromium.org/1196253011/diff/1/tools/telemetry/telemetry/timeline/model.py#newcode77 tools/telemetry/telemetry/timeline/model.py:77: def IterEventsInThisContainer(self, event_type_predicate, event_predicate): On 2015/06/25 10:36:47, perezju wrote: ...
5 years, 6 months ago (2015-06-25 16:59:30 UTC) #12
perezju
Thanks for the comments. I've addressed them all on my latest patch. https://codereview.chromium.org/1196253011/diff/1/tools/telemetry/telemetry/timeline/model.py File tools/telemetry/telemetry/timeline/model.py ...
5 years, 6 months ago (2015-06-26 11:34:53 UTC) #13
perezju
Friendly ping. Any more comments on this?
5 years, 5 months ago (2015-06-30 09:55:14 UTC) #14
eakuefner
lgtm
5 years, 5 months ago (2015-06-30 15:43:13 UTC) #15
nednguyen
https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode53 tools/telemetry/telemetry/timeline/memory_dump_event.py:53: Looks like these memory data are specific to android ...
5 years, 5 months ago (2015-06-30 15:47:31 UTC) #16
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/timeline/memory_dump_event.py File tools/telemetry/telemetry/timeline/memory_dump_event.py (right): https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/timeline/memory_dump_event.py#newcode53 tools/telemetry/telemetry/timeline/memory_dump_event.py:53: On 2015/06/30 15:47:31, nednguyen wrote: > Looks like these ...
5 years, 5 months ago (2015-06-30 15:59:36 UTC) #17
nednguyen
https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py File tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py (right): https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py#newcode28 tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py:28: # We report the latest dump that happened during ...
5 years, 5 months ago (2015-06-30 16:08:40 UTC) #18
perezju
Thanks for the suggestions Ned. PTAL. https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py File tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py (right): https://codereview.chromium.org/1196253011/diff/80001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py#newcode28 tools/telemetry/telemetry/web_perf/metrics/memory_timeline.py:28: # We report ...
5 years, 5 months ago (2015-06-30 17:39:24 UTC) #19
nednguyen
lgtm with nits https://codereview.chromium.org/1196253011/diff/100001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py File tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py (right): https://codereview.chromium.org/1196253011/diff/100001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py#newcode90 tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py:90: def testMultipleInteractions_withDumpInSecond(self): testMultipleInteractionsWithDumpInSecond. What does DumpInSecond ...
5 years, 5 months ago (2015-06-30 17:59:22 UTC) #20
perezju
https://codereview.chromium.org/1196253011/diff/100001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py File tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py (right): https://codereview.chromium.org/1196253011/diff/100001/tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py#newcode90 tools/telemetry/telemetry/web_perf/metrics/memory_timeline_unittest.py:90: def testMultipleInteractions_withDumpInSecond(self): On 2015/06/30 17:59:22, nednguyen wrote: > testMultipleInteractionsWithDumpInSecond. ...
5 years, 5 months ago (2015-07-01 08:54:15 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196253011/120001
5 years, 5 months ago (2015-07-01 08:54:50 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 5 months ago (2015-07-01 10:06:33 UTC) #25
commit-bot: I haz the power
5 years, 5 months ago (2015-07-01 10:07:32 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9786cc28c49d9b0637daf1cdcced0aacbc26b93f
Cr-Commit-Position: refs/heads/master@{#337003}

Powered by Google App Engine
This is Rietveld 408576698