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

Issue 2639993002: Adds runtimeStatsTotalMetric to collect v8 metrics and bucket them based on UE. (Closed)

Created:
3 years, 11 months ago by mythria
Modified:
3 years, 10 months ago
CC:
catapult-reviews_chromium.org, rmcilroy, tracing-review_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Adds runtimeStatsTotalMetric to collect v8 metrics on pages with interaction. RuntimeStats metric measures various v8 metrics till the time to interact to measure the startup time of the web pages. This cl extends this metric by adding runtimeStatsTotalMetric which measures the v8 metrics for the total duration of the page and buckets them based on user expectations. BUG=chromium:686250 Review-Url: https://codereview.chromium.org/2639993002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/3a702528b20ff1d13d8abe3ee37a8bf2772f64d2

Patch Set 1 #

Patch Set 2 : Fixed naming of the metric. #

Total comments: 4

Patch Set 3 : Address comments from fadi. #

Patch Set 4 : Filter out subcategories of V8 stats and bucket them on UE. #

Total comments: 12

Patch Set 5 : Addressed review comments. #

Patch Set 6 : Update with the crbug to track removal of runtimeStatsMetric. #

Total comments: 8

Patch Set 7 : Added tests. #

Patch Set 8 : Renamed a histogram. #

Total comments: 4

Patch Set 9 : Iterate over expectations instead of segments. #

Total comments: 6

Patch Set 10 : Addressed nits. #

Patch Set 11 : Fixed to add only one sample for each UE. #

Total comments: 7

Patch Set 12 : Fixed Nits. #

Patch Set 13 : Rebased the patch. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+322 lines, -10 lines) Patch
M tracing/tracing/metrics/v8/runtime_stats_metric.html View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +74 lines, -10 lines 1 comment Download
M tracing/tracing/metrics/v8/runtime_stats_metric_test.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +248 lines, -0 lines 0 comments Download

Messages

Total messages: 60 (28 generated)
mythria
Hi Fadi and Camillo, I added a new metric that is similar to the runtimeStatsMetric ...
3 years, 11 months ago (2017-01-18 13:00:20 UTC) #8
fmeawad
I am actually surprised that you are getting different results between the 2 metrics. I ...
3 years, 11 months ago (2017-01-19 00:01:47 UTC) #10
Camillo Bruni
On 2017/01/19 at 00:01:47, fmeawad wrote: > I am actually surprised that you are getting ...
3 years, 11 months ago (2017-01-19 08:57:33 UTC) #11
mythria
Thanks Fadi. I addressed your comments. https://codereview.chromium.org/2639993002/diff/20001/tracing/tracing/metrics/v8/runtime_stats_metric.html File tracing/tracing/metrics/v8/runtime_stats_metric.html (right): https://codereview.chromium.org/2639993002/diff/20001/tracing/tracing/metrics/v8/runtime_stats_metric.html#newcode85 tracing/tracing/metrics/v8/runtime_stats_metric.html:85: if (endTime !== ...
3 years, 11 months ago (2017-01-19 11:23:34 UTC) #12
fmeawad
lgtm
3 years, 11 months ago (2017-01-19 16:53:33 UTC) #13
Camillo Bruni
lgtm
3 years, 11 months ago (2017-01-19 19:01:28 UTC) #14
Camillo Bruni
On 2017/01/19 at 19:01:28, Camillo Bruni wrote: > lgtm I updated the metric name in ...
3 years, 11 months ago (2017-01-19 19:05:00 UTC) #16
mythria
I added support to filter out sub-categories in v8 and to bucket the runtimeStats based ...
3 years, 10 months ago (2017-01-31 01:13:31 UTC) #18
nednguyen
On 2017/01/31 01:13:31, mythria wrote: > I added support to filter out sub-categories in v8 ...
3 years, 10 months ago (2017-01-31 13:03:44 UTC) #20
benjhayden
Thanks! This looks pretty good. I just have some nits, a question, and a performance ...
3 years, 10 months ago (2017-01-31 17:55:42 UTC) #22
eakuefner
I also defer reviewing this to Ben & Tim.
3 years, 10 months ago (2017-02-02 22:28:21 UTC) #24
tdresser
https://codereview.chromium.org/2639993002/diff/60001/tracing/tracing/metrics/v8/runtime_stats_metric.html File tracing/tracing/metrics/v8/runtime_stats_metric.html (right): https://codereview.chromium.org/2639993002/diff/60001/tracing/tracing/metrics/v8/runtime_stats_metric.html#newcode171 tracing/tracing/metrics/v8/runtime_stats_metric.html:171: for (var expectation of segment.expectations) { This has an ...
3 years, 10 months ago (2017-02-03 00:36:45 UTC) #25
mythria
Thanks for your reviews. I am sorry for the delay. I was at BlinkOn and ...
3 years, 10 months ago (2017-02-03 11:48:39 UTC) #26
fmeawad
Can you add tests? https://codereview.chromium.org/2639993002/diff/60001/tracing/tracing/metrics/v8/runtime_stats_metric.html File tracing/tracing/metrics/v8/runtime_stats_metric.html (right): https://codereview.chromium.org/2639993002/diff/60001/tracing/tracing/metrics/v8/runtime_stats_metric.html#newcode171 tracing/tracing/metrics/v8/runtime_stats_metric.html:171: for (var expectation of segment.expectations) ...
3 years, 10 months ago (2017-02-03 17:50:13 UTC) #27
mythria
Thanks for the reviews. I added tests for the new metric. I haven't changed the ...
3 years, 10 months ago (2017-02-07 15:26:07 UTC) #28
fmeawad
On 2017/02/07 15:26:07, mythria wrote: > Thanks for the reviews. I added tests for the ...
3 years, 10 months ago (2017-02-07 16:33:16 UTC) #29
fmeawad
Ned, can you PTAL on the decision of counting the overlap as part of both ...
3 years, 10 months ago (2017-02-07 16:34:13 UTC) #31
nednguyen
Double counting is not a problem since we are not summing up the data from ...
3 years, 10 months ago (2017-02-07 17:52:01 UTC) #32
benjhayden
It looks like you don't need Segments, after all, then. :-) Sorry some of these ...
3 years, 10 months ago (2017-02-07 23:08:19 UTC) #33
mythria
Thanks for the reviews. I addressed all of the comments except the one about moving ...
3 years, 10 months ago (2017-02-08 10:17:20 UTC) #35
benjhayden
2 nits, an FYI, lgtm, please wait to see what charliea says Thanks! https://codereview.chromium.org/2639993002/diff/160001/tracing/tracing/metrics/v8/runtime_stats_metric.html File ...
3 years, 10 months ago (2017-02-08 20:11:26 UTC) #37
charliea (OOO until 10-5)
On 2017/02/08 10:17:20, mythria wrote: > Thanks for the reviews. I addressed all of the ...
3 years, 10 months ago (2017-02-08 20:11:43 UTC) #38
mythria
Thanks for your reviews. Once the new metric lands and we start measuring it on ...
3 years, 10 months ago (2017-02-09 14:47:35 UTC) #39
mythria
Fadi and Ben, I am sorry, I did not notice earlier that I was adding ...
3 years, 10 months ago (2017-02-09 17:21:39 UTC) #40
benjhayden
No worries, metrics are hard! 2 more nits, another fyi, still lgtm :-) https://codereview.chromium.org/2639993002/diff/200001/tracing/tracing/metrics/v8/runtime_stats_metric.html File ...
3 years, 10 months ago (2017-02-10 17:59:25 UTC) #41
fmeawad
On 2017/02/10 17:59:25, benjhayden wrote: > No worries, metrics are hard! > > 2 more ...
3 years, 10 months ago (2017-02-10 18:03:32 UTC) #42
mythria
Thanks for the reviews. I fixed both nits. Also, thanks for the detailed explanation. Fadi, ...
3 years, 10 months ago (2017-02-13 15:54:49 UTC) #43
benjhayden
https://codereview.chromium.org/2639993002/diff/240001/tracing/tracing/metrics/v8/runtime_stats_metric.html File tracing/tracing/metrics/v8/runtime_stats_metric.html (right): https://codereview.chromium.org/2639993002/diff/240001/tracing/tracing/metrics/v8/runtime_stats_metric.html#newcode187 tracing/tracing/metrics/v8/runtime_stats_metric.html:187: computeRuntimeStatsBucketOnUE(histograms, v8ThreadSlices, 'Any'); Fadi and I were looking at ...
3 years, 10 months ago (2017-02-13 20:40:30 UTC) #52
benjhayden
On 2017/02/13 at 20:40:30, benjhayden wrote: > https://codereview.chromium.org/2639993002/diff/240001/tracing/tracing/metrics/v8/runtime_stats_metric.html > File tracing/tracing/metrics/v8/runtime_stats_metric.html (right): > > https://codereview.chromium.org/2639993002/diff/240001/tracing/tracing/metrics/v8/runtime_stats_metric.html#newcode187 ...
3 years, 10 months ago (2017-02-14 17:20:53 UTC) #53
mythria
On 2017/02/14 17:20:53, benjhayden wrote: > On 2017/02/13 at 20:40:30, benjhayden wrote: > > > ...
3 years, 10 months ago (2017-02-14 17:44:02 UTC) #54
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/2639993002/240001
3 years, 10 months ago (2017-02-14 17:45:08 UTC) #57
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 18:06:49 UTC) #60
Message was sent while issue was closed.
Committed patchset #13 (id:240001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698