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

Issue 3012153002: Add leakDetectionMetric for tracing (Closed)

Created:
3 years, 3 months ago by yuzuchan
Modified:
3 years, 3 months ago
Reviewers:
haraken, keishi, benjhayden
CC:
catapult-reviews_chromium.org, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Add leakDetectionMetric for tracing This CL adds leakDetectionMetric which shows you a diff of blink object counters between 1st & last memory dump. This is a part of Real-World Leak Detector project (Design doc: https://docs.google.com/document/d/1wUWa7dWUdvr6dLdYHFfMQdnvgzt7lrrvzYfpAK-_6e0 ). BUG=chromium:763280 Review-Url: https://chromiumcodereview.appspot.com/3012153002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/3f9a1ba77bbbe6ccf9551db7d05354296c555526

Patch Set 1 #

Patch Set 2 : Refactor #

Patch Set 3 : Refactor #

Patch Set 4 : Refactor #

Total comments: 8

Patch Set 5 : Refactor #

Patch Set 6 : Add tests #

Patch Set 7 : minor fix #

Patch Set 8 : Bug fix #

Total comments: 25

Patch Set 9 : Use Es6 #

Patch Set 10 : Use ES6 #

Total comments: 22

Patch Set 11 : change avg and other columns to true in order to run Cluster Telemetry #

Patch Set 12 : Reflect comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+355 lines, -94 lines) Patch
M tracing/trace_viewer.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M tracing/tracing/metrics/all_metrics.html View 1 chunk +1 line, -0 lines 0 comments Download
A tracing/tracing/metrics/blink/leak_detection_metric.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +80 lines, -0 lines 0 comments Download
A tracing/tracing/metrics/blink/leak_detection_metric_test.html View 1 2 3 4 5 6 7 8 9 1 chunk +173 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/system_health/memory_metric.html View 1 2 3 4 5 3 chunks +2 lines, -94 lines 0 comments Download
M tracing/tracing/metrics/system_health/utils.html View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +96 lines, -0 lines 0 comments Download
M tracing/tracing/model/memory_dump_test_utils.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
yuzuchan
PTAL :) This is how I feel about this patch: https://i.imgur.com/wSyzUa7.gif
3 years, 3 months ago (2017-09-11 07:11:52 UTC) #3
keishi
Looks good so far. I think every metric requires a test. https://codereview.chromium.org/3012153002/diff/60001/tracing/tracing/metrics/blink/leak_detection_metric.html File tracing/tracing/metrics/blink/leak_detection_metric.html (right): ...
3 years, 3 months ago (2017-09-11 07:34:16 UTC) #4
yuzuchan
I haven't written a test yet, but addressed some of the comments. I am going ...
3 years, 3 months ago (2017-09-13 04:48:57 UTC) #6
yuzuchan
PTAL again :) This is how I feel about this patch: https://i.imgur.com/wC3u6cx.gif
3 years, 3 months ago (2017-09-13 11:32:03 UTC) #7
yuzuchan
PTAL :) This is how I feel about this patch: https://i.imgur.com/uLetEul.gif
3 years, 3 months ago (2017-09-14 09:23:35 UTC) #9
keishi
non owner LGTM The test looks great. https://codereview.chromium.org/3012153002/diff/140001/tracing/tracing/metrics/blink/leak_detection_metric.html File tracing/tracing/metrics/blink/leak_detection_metric.html (right): https://codereview.chromium.org/3012153002/diff/140001/tracing/tracing/metrics/blink/leak_detection_metric.html#newcode77 tracing/tracing/metrics/blink/leak_detection_metric.html:77: throw new ...
3 years, 3 months ago (2017-09-14 09:40:46 UTC) #10
haraken
non-owner LGTM
3 years, 3 months ago (2017-09-14 14:21:07 UTC) #11
benjhayden
Mostly style nits. https://codereview.chromium.org/3012153002/diff/140001/tracing/tracing/metrics/blink/leak_detection_metric.html File tracing/tracing/metrics/blink/leak_detection_metric.html (right): https://codereview.chromium.org/3012153002/diff/140001/tracing/tracing/metrics/blink/leak_detection_metric.html#newcode23 tracing/tracing/metrics/blink/leak_detection_metric.html:23: let sumCounter = {}; Please use ...
3 years, 3 months ago (2017-09-14 19:18:51 UTC) #12
yuzuchan
Thank you so much for the review. PTAL again :) This is how I feel ...
3 years, 3 months ago (2017-09-15 08:32:25 UTC) #13
benjhayden
Thanks! Just a few more nits. This will probably be the last or penultimate round ...
3 years, 3 months ago (2017-09-15 17:30:46 UTC) #14
yuzuchan
Thank you very much again for the review! Hope I addressed all the points you ...
3 years, 3 months ago (2017-09-19 07:56:26 UTC) #15
benjhayden
lgtm, thanks!
3 years, 3 months ago (2017-09-20 05:02:35 UTC) #16
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/3012153002/220001
3 years, 3 months ago (2017-09-20 06:34:38 UTC) #19
commit-bot: I haz the power
3 years, 3 months ago (2017-09-20 07:06:57 UTC) #22
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698