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

Issue 2323533003: [Not for landing - CL being split] Add Estimated Input Latency - EQT 90th Percentile definition

Created:
4 years, 3 months ago by dproy-google
Modified:
3 years, 9 months ago
CC:
bckenny, catapult-reviews_chromium.org, tracing-review_chromium.org, ulan
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Add Estimated Input Latency - EQT 90th Percentile definition Added an implementation of EIL that mirrors lighthouse definition. Explicitly called the metric EQT 90th Percentile to be clear about what I'm implementing. For a quick overview of the different definitions of EIL that have been proposed, see https://docs.google.com/a/chromium.org/document/d/13XKD4XQ5a_XA_or9ePZnD0rIJYRFUbdRH1kNAtOQyIc/edit?usp=sharing BUG=chromium:631206

Patch Set 1 #

Patch Set 2 : Delete useless empty loop #

Total comments: 12

Patch Set 3 : Review comments #

Total comments: 1

Patch Set 4 : Add tests #

Patch Set 5 : Some more cleanup #

Total comments: 23

Patch Set 6 : Address review comments #

Total comments: 10

Patch Set 7 : More review comments #

Patch Set 8 : Address review comments v4 #

Total comments: 8

Patch Set 9 : Review comments v5 #

Total comments: 4

Patch Set 10 : Review comments + rebase on master #

Total comments: 93

Patch Set 11 : review comments v7 #

Total comments: 2

Patch Set 12 : Fix typos and link to bug #

Patch Set 13 : Tidy up single line conditionals #

Total comments: 46

Patch Set 14 : more readable code #

Patch Set 15 : Fix jsdoc #

Total comments: 56

Patch Set 16 : review comments #

Patch Set 17 : List -> Plural #

Unified diffs Side-by-side diffs Delta from patch set Stats (+787 lines, -9 lines) Patch
M tracing/trace_viewer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M tracing/tracing/metrics/all_metrics.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A tracing/tracing/metrics/estimated_input_latency_metric.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +368 lines, -0 lines 0 comments Download
A tracing/tracing/metrics/estimated_input_latency_metric_test.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +379 lines, -0 lines 0 comments Download
M tracing/tracing/metrics/system_health/loading_metric.html View 1 2 3 4 5 6 7 8 9 5 chunks +11 lines, -9 lines 0 comments Download
M tracing/tracing/model/helpers/chrome_model_helper.html View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 59 (11 generated)
dproy
PTAL. I'm not sure if this 90th percentile implementation is actually useful is we're starting ...
4 years, 3 months ago (2016-09-08 06:46:41 UTC) #4
tdresser
On 2016/09/08 06:46:41, dproy1 wrote: > PTAL. > > I'm not sure if this 90th ...
4 years, 3 months ago (2016-09-08 15:45:14 UTC) #7
benjhayden
On 2016/09/08 at 15:45:14, tdresser wrote: > On 2016/09/08 06:46:41, dproy1 wrote: > > PTAL. ...
4 years, 3 months ago (2016-09-08 15:52:40 UTC) #8
tdresser
On 2016/09/08 15:52:40, benjhayden wrote: > On 2016/09/08 at 15:45:14, tdresser wrote: > > On ...
4 years, 3 months ago (2016-09-08 15:54:27 UTC) #9
benjhayden
Test, please. https://codereview.chromium.org/2323533003/diff/20001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/20001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode26 tracing/tracing/metrics/estimated_input_latency_metric.html:26: // TODO(dproy): This is copy pasta from ...
4 years, 3 months ago (2016-09-08 16:03:26 UTC) #10
dproy
> Are you testing on Android? On Android, our 90'th percentile is about a > ...
4 years, 3 months ago (2016-09-08 19:45:53 UTC) #11
tdresser
On 2016/09/08 19:45:53, dproy1 wrote: > > Are you testing on Android? On Android, our ...
4 years, 3 months ago (2016-09-08 19:48:48 UTC) #12
benjhayden
@charliea, style master, should we start using 'let'? https://codereview.chromium.org/2323533003/diff/40001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/40001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode202 tracing/tracing/metrics/estimated_input_latency_metric.html:202: function ...
4 years, 3 months ago (2016-09-14 17:17:29 UTC) #14
dproy
Added tests and some general cleanup. PTAL.
4 years, 3 months ago (2016-09-15 20:01:05 UTC) #15
benjhayden
https://codereview.chromium.org/2323533003/diff/80001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/80001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode3 tracing/tracing/metrics/estimated_input_latency_metric.html:3: Copyright (c) 2015 The Chromium Authors. All rights reserved. ...
4 years, 3 months ago (2016-09-15 20:28:39 UTC) #16
benjhayden
FYI: https://codereview.chromium.org/2334233003 If this CL lands, you'll need to merge your NumericValues with your Histograms ...
4 years, 3 months ago (2016-09-15 20:58:21 UTC) #17
dproy
Addressed all the comments. PTAL. Looks like https://codereview.chromium.org/2334233003 had a try job failure so I ...
4 years, 3 months ago (2016-09-15 21:30:15 UTC) #18
dproy
Actually looks like I missed a couple comments. Don't review yet. Sorry about this.
4 years, 3 months ago (2016-09-15 21:31:24 UTC) #19
benjhayden
https://codereview.chromium.org/2323533003/diff/100001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/100001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode68 tracing/tracing/metrics/estimated_input_latency_metric.html:68: for (var bin of tr.b.getOnlyElement(ttiValues).numeric.allBins) curly braces, please https://codereview.chromium.org/2323533003/diff/100001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode238 ...
4 years, 3 months ago (2016-09-15 22:04:48 UTC) #20
dproy
Ready for review. PTAL. https://codereview.chromium.org/2323533003/diff/100001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/100001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode68 tracing/tracing/metrics/estimated_input_latency_metric.html:68: for (var bin of tr.b.getOnlyElement(ttiValues).numeric.allBins) ...
4 years, 3 months ago (2016-09-15 22:30:47 UTC) #21
charliea (OOO until 10-5)
My personal vote is to push off using let for now: I'd rather focus on ...
4 years, 3 months ago (2016-09-15 22:34:07 UTC) #22
benjhayden
Thanks for your patience with all my questions and nits. :-) https://codereview.chromium.org/2323533003/diff/140001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): ...
4 years, 3 months ago (2016-09-15 23:23:04 UTC) #23
benjhayden
It looks like the two 'let's in estimated_input_latency_metric.html can be changed to var for now ...
4 years, 3 months ago (2016-09-15 23:24:41 UTC) #24
dproy
Ready for review. PTAL. On 2016/09/15 23:24:41, benjhayden wrote: > It looks like the two ...
4 years, 3 months ago (2016-09-16 14:19:41 UTC) #25
benjhayden
https://codereview.chromium.org/2323533003/diff/160001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/160001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode251 tracing/tracing/metrics/estimated_input_latency_metric.html:251: var eqtTargetPercentiles = [90]; Sorry, I didn't mean to ...
4 years, 3 months ago (2016-09-16 22:49:29 UTC) #26
dproy
I rebased it on master. The metrics sidepanel is broken for me right now so ...
4 years, 3 months ago (2016-09-19 13:26:24 UTC) #27
charliea (OOO until 10-5)
Sorry for all of the nits: we're in the processing of moving to a lot ...
4 years, 3 months ago (2016-09-19 14:35:34 UTC) #28
benjhayden
On 2016/09/19 at 13:26:24, dproy wrote: > I rebased it on master. The metrics sidepanel ...
4 years, 3 months ago (2016-09-19 18:42:05 UTC) #29
benjhayden
https://codereview.chromium.org/2323533003/diff/180001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/180001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode144 tracing/tracing/metrics/estimated_input_latency_metric.html:144: // Start with idle time already compvare. On 2016/09/19 ...
4 years, 3 months ago (2016-09-19 20:00:49 UTC) #30
dproy
I'm sorry this CL is getting so difficult to review. The actual new stuff in ...
4 years, 3 months ago (2016-09-20 01:11:44 UTC) #31
benjhayden
https://codereview.chromium.org/2323533003/diff/180001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/180001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode28 tracing/tracing/metrics/estimated_input_latency_metric.html:28: function runConditionallyOnInnermostDescendants(slice, predicate, cb) { On 2016/09/20 at 01:11:43, ...
4 years, 3 months ago (2016-09-20 05:52:36 UTC) #32
benjhayden
https://codereview.chromium.org/2323533003/diff/200001/tracing/tracing/model/helpers/chrome_model_helper.html File tracing/tracing/model/helpers/chrome_model_helper.html (right): https://codereview.chromium.org/2323533003/diff/200001/tracing/tracing/model/helpers/chrome_model_helper.html#newcode130 tracing/tracing/model/helpers/chrome_model_helper.html:130: * renderers and this helper method should be removed. ...
4 years, 3 months ago (2016-09-20 05:58:17 UTC) #33
benjhayden
After you add that link to #2820, lgtm, but please wait for charliea and tdresser. ...
4 years, 3 months ago (2016-09-20 06:26:26 UTC) #35
dproy
https://codereview.chromium.org/2323533003/diff/180001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/180001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode28 tracing/tracing/metrics/estimated_input_latency_metric.html:28: function runConditionallyOnInnermostDescendants(slice, predicate, cb) { On 2016/09/20 05:52:35, benjhayden ...
4 years, 3 months ago (2016-09-20 15:21:06 UTC) #37
charliea (OOO until 10-5)
https://codereview.chromium.org/2323533003/diff/240001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/240001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode24 tracing/tracing/metrics/estimated_input_latency_metric.html:24: var smallestInputLatencyMs = 0.1; nit: please use CONSTANT_CASE for ...
4 years, 3 months ago (2016-09-22 15:58:51 UTC) #38
nednguyen
Sorry, passing by reviewer. From a high level point of view, can we factor the ...
4 years, 2 months ago (2016-09-29 21:06:53 UTC) #39
dproy
On 2016/09/29 21:06:53, nednguyen wrote: > Sorry, passing by reviewer. > > From a high ...
4 years, 2 months ago (2016-09-29 21:12:17 UTC) #40
dproy
On 2016/09/29 21:06:53, nednguyen wrote: > Sorry, passing by reviewer. > > From a high ...
4 years, 2 months ago (2016-09-29 21:12:19 UTC) #41
benjhayden
On 2016/09/29 at 21:12:19, dproy wrote: > On 2016/09/29 21:06:53, nednguyen wrote: > > Sorry, ...
4 years, 2 months ago (2016-09-29 22:59:26 UTC) #42
nednguyen
On 2016/09/29 22:59:26, benjhayden wrote: > On 2016/09/29 at 21:12:19, dproy wrote: > > On ...
4 years, 2 months ago (2016-09-29 23:25:39 UTC) #43
benjhayden
On 2016/09/29 at 23:25:39, nednguyen wrote: > On 2016/09/29 22:59:26, benjhayden wrote: > > On ...
4 years, 2 months ago (2016-09-29 23:51:29 UTC) #44
nednguyen
On 2016/09/29 23:51:29, benjhayden wrote: > On 2016/09/29 at 23:25:39, nednguyen wrote: > > On ...
4 years, 2 months ago (2016-09-30 18:21:21 UTC) #46
benjhayden
On 2016/09/30 at 18:21:21, nednguyen wrote: > On 2016/09/29 23:51:29, benjhayden wrote: > > On ...
4 years, 2 months ago (2016-09-30 18:24:59 UTC) #47
dproy
I addressed all the review comments. I also rewrote the calculateEILRiskPercentile function to make it ...
4 years, 2 months ago (2016-10-03 19:30:11 UTC) #48
nednguyen
https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode326 tracing/tracing/metrics/estimated_input_latency_metric.html:326: // The largest pid renderer is probably the one ...
4 years, 2 months ago (2016-10-03 19:53:50 UTC) #49
dproy
https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode326 tracing/tracing/metrics/estimated_input_latency_metric.html:326: // The largest pid renderer is probably the one ...
4 years, 2 months ago (2016-10-03 20:04:44 UTC) #50
charliea (OOO until 10-5)
Looking a lot closer! I added some additional comments. I still want to take a ...
4 years, 2 months ago (2016-10-03 20:05:50 UTC) #51
nednguyen
https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html File tracing/tracing/metrics/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode326 tracing/tracing/metrics/estimated_input_latency_metric.html:326: // The largest pid renderer is probably the one ...
4 years, 2 months ago (2016-10-03 20:08:47 UTC) #52
tdresser
On 2016/10/03 20:08:47, nednguyen wrote: > https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html > File tracing/tracing/metrics/estimated_input_latency_metric.html (right): > > https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html#newcode326 > ...
4 years, 2 months ago (2016-10-03 20:13:16 UTC) #53
nednguyen
On 2016/10/03 20:13:16, tdresser wrote: > On 2016/10/03 20:08:47, nednguyen wrote: > > > https://codereview.chromium.org/2323533003/diff/280001/tracing/tracing/metrics/estimated_input_latency_metric.html ...
4 years, 2 months ago (2016-10-03 20:18:58 UTC) #54
tdresser
SGTM
4 years, 2 months ago (2016-10-03 20:21:39 UTC) #55
dproy
Sorry I said I would split the CL but since you commented here it was ...
4 years, 2 months ago (2016-10-03 21:05:26 UTC) #56
charliea (OOO until 10-5)
4 years, 2 months ago (2016-10-10 14:24:49 UTC) #57
(Removing myself if this is being split: happy to review the split CLs, or add
me back to this one if it's still relevant)

Powered by Google App Engine
This is Rietveld 408576698