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

Issue 2043203003: Add MemoryInfra overheads to tracingMetrics (Closed)

Created:
4 years, 6 months ago by ssid
Modified:
4 years, 6 months ago
Reviewers:
Zhen Wang, petrcermak
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org, telemetry-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Add MemoryInfra overheads to tracingMetrics This CL adds metrics to track the overhead of MemoryInfra dumps to tracingMetrics. This is useful to track the memory dump timings and trace size. Tracks the duration of memory-infra trace events, duration of each dump provider and total json size of memory-infra trace events. BUG=catapult:#2400 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/b0c2eccc8ff2adef60dc53764d38b97b2a3d1a52

Patch Set 1 : #

Patch Set 2 : #

Total comments: 66

Patch Set 3 : address Petr's comments. #

Patch Set 4 : nit. #

Total comments: 6

Patch Set 5 : Renames. #

Patch Set 6 : nit. #

Total comments: 4

Patch Set 7 : Renames to memory-infra. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -3 lines) Patch
M telemetry/telemetry/timeline/tracing_config.py View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M tracing/tracing/metrics/tracing_metric.html View 1 2 3 4 5 6 3 chunks +69 lines, -1 line 0 comments Download
M tracing/tracing/metrics/tracing_metric_test.html View 1 2 3 4 5 6 3 chunks +60 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
ssid
ptal, thanks
4 years, 6 months ago (2016-06-09 00:11:18 UTC) #4
petrcermak
Looks good overall. I've left a bunch of inline comments (sorry for being so pedantic). ...
4 years, 6 months ago (2016-06-09 13:38:21 UTC) #5
Zhen Wang
https://codereview.chromium.org/2043203003/diff/40001/telemetry/telemetry/timeline/tracing_config.py File telemetry/telemetry/timeline/tracing_config.py (right): https://codereview.chromium.org/2043203003/diff/40001/telemetry/telemetry/timeline/tracing_config.py#newcode67 telemetry/telemetry/timeline/tracing_config.py:67: assert mode in ['background', 'light', 'detailed'] I see that ...
4 years, 6 months ago (2016-06-09 17:08:17 UTC) #6
ssid
Thanks for your patient review. js is vast, i am trying to learn. PTAL. https://codereview.chromium.org/2043203003/diff/40001/telemetry/telemetry/timeline/tracing_config.py ...
4 years, 6 months ago (2016-06-09 20:21:17 UTC) #7
petrcermak
I think we're almost there :-) I've left only a few more inline comments. Thanks, ...
4 years, 6 months ago (2016-06-10 11:07:07 UTC) #8
ssid
Thanks, made suggested changes. https://codereview.chromium.org/2043203003/diff/80001/tracing/tracing/metrics/tracing_metric.html File tracing/tracing/metrics/tracing_metric.html (right): https://codereview.chromium.org/2043203003/diff/80001/tracing/tracing/metrics/tracing_metric.html#newcode52 tracing/tracing/metrics/tracing_metric.html:52: addTimeDurationValue('Memory-Infra dump total CPU overhead', ...
4 years, 6 months ago (2016-06-10 20:18:17 UTC) #9
ssid
https://codereview.chromium.org/2043203003/diff/40001/tracing/tracing/metrics/tracing_metric_test.html File tracing/tracing/metrics/tracing_metric_test.html (right): https://codereview.chromium.org/2043203003/diff/40001/tracing/tracing/metrics/tracing_metric_test.html#newcode140 tracing/tracing/metrics/tracing_metric_test.html:140: tr.model.MemoryDumpTestUtils.addGlobalMemoryDump(model, 550); On 2016/06/10 11:07:06, petrcermak wrote: > On ...
4 years, 6 months ago (2016-06-10 20:47:54 UTC) #10
petrcermak
LGTM with one final nit. Thanks, Petr https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html File tracing/tracing/metrics/tracing_metric.html (right): https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html#newcode53 tracing/tracing/metrics/tracing_metric.html:53: 'Average CPU ...
4 years, 6 months ago (2016-06-13 08:26:30 UTC) #11
Zhen Wang
https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html File tracing/tracing/metrics/tracing_metric.html (right): https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html#newcode178 tracing/tracing/metrics/tracing_metric.html:178: addMemoryInfraValues(values, model, categoryNamesToTotalEventSizes); Should we add you (or anyone ...
4 years, 6 months ago (2016-06-13 17:55:37 UTC) #12
ssid
https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html File tracing/tracing/metrics/tracing_metric.html (right): https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html#newcode178 tracing/tracing/metrics/tracing_metric.html:178: addMemoryInfraValues(values, model, categoryNamesToTotalEventSizes); On 2016/06/13 17:55:37, Zhen Wang wrote: ...
4 years, 6 months ago (2016-06-13 18:02:45 UTC) #13
Zhen Wang
lgtm
4 years, 6 months ago (2016-06-13 18:04:47 UTC) #14
ssid
Thanks. https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html File tracing/tracing/metrics/tracing_metric.html (right): https://codereview.chromium.org/2043203003/diff/120001/tracing/tracing/metrics/tracing_metric.html#newcode53 tracing/tracing/metrics/tracing_metric.html:53: 'Average CPU overhead on all threads per Memory-Infra ...
4 years, 6 months ago (2016-06-13 23:28:46 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043203003/140001
4 years, 6 months ago (2016-06-13 23:29:07 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-14 00:21:55 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2043203003/140001
4 years, 6 months ago (2016-06-14 00:23:25 UTC) #22
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 01:18:38 UTC) #24
Message was sent while issue was closed.
Committed patchset #7 (id:140001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698