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

Issue 2698003004: Add a function that computes contribution of selected events to EQT. (Closed)

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

Description

Add a function that computes contribution of selected events to EQT. This function will be used later to add metrics that track impact of Chrome components on EQT. For example, impact of V8 on EQT. We define the contribution as the maximum expected queueing time in the sliding time window of size 500ms (WINDOW_SIZE_MS) for the trace that is modified as follows: - from each top-level task remove all subevents except the selected events. - removing subevents shrinks a task by shifting its end time closer to the start time. The start time does not change. BUG=chromium:625701 Review-Url: https://codereview.chromium.org/2698003004 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/0cc3f7ab57ee2fab3930f80fa6c74bab20838728

Patch Set 1 #

Patch Set 2 : fix indent #

Total comments: 16

Patch Set 3 : Address comments Tim's comments #

Total comments: 2

Patch Set 4 : Add "Metric" suffix. #

Patch Set 5 : Rebase #

Total comments: 2

Patch Set 6 : Fix comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -14 lines) Patch
M tracing/tracing/metrics/system_health/estimated_input_latency_metric.html View 1 2 3 4 5 2 chunks +95 lines, -6 lines 0 comments Download
M tracing/tracing/metrics/system_health/estimated_input_latency_metric_test.html View 1 2 3 4 7 chunks +64 lines, -8 lines 0 comments Download

Messages

Total messages: 24 (8 generated)
ulan
This the last missing piece for EIL metric. Once this lands we can start tracking ...
3 years, 10 months ago (2017-02-15 16:40:59 UTC) #2
tdresser
Sorry, I know we talked about this approach at a high level, but I'm forgetting ...
3 years, 10 months ago (2017-02-15 18:39:37 UTC) #3
benjhayden
I'll defer to Tim on the metric design and Charlie on the style issues if ...
3 years, 10 months ago (2017-02-15 19:16:50 UTC) #4
benjhayden
https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html File tracing/tracing/metrics/system_health/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode155 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:155: ' for a given renderer while the page is ...
3 years, 10 months ago (2017-02-15 19:25:32 UTC) #5
ulan
> There are two possible approach here: > • EQT - EQT without type X ...
3 years, 10 months ago (2017-02-15 20:43:45 UTC) #6
ulan
https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html File tracing/tracing/metrics/system_health/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode155 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:155: ' for a given renderer while the page is ...
3 years, 10 months ago (2017-02-15 20:48:04 UTC) #7
benjhayden
Acks and 1 question, then lgtm. https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html File tracing/tracing/metrics/system_health/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode160 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:160: if (rendererHelper.isChromeTracingUI) continue; ...
3 years, 10 months ago (2017-02-15 21:20:27 UTC) #8
ulan
Thank you! https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html File tracing/tracing/metrics/system_health/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2698003004/diff/20001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode162 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:162: .filter(slice => slice.duration > 0 && !containsForcedGC_(slice)) ...
3 years, 10 months ago (2017-02-15 21:44:31 UTC) #9
ulan
Rebased to TOT. This CL doesn't have pending dependencies anymore and is ready to land ...
3 years, 10 months ago (2017-02-20 10:11:13 UTC) #10
ulan
Tim, can I land this?
3 years, 10 months ago (2017-02-21 15:00:02 UTC) #12
tdresser
LGTM with nit. https://codereview.chromium.org/2698003004/diff/80001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html File tracing/tracing/metrics/system_health/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2698003004/diff/80001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode118 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:118: * that satisfy the given predicate. ...
3 years, 10 months ago (2017-02-21 15:12:58 UTC) #13
ulan
Thank you. https://codereview.chromium.org/2698003004/diff/80001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html File tracing/tracing/metrics/system_health/estimated_input_latency_metric.html (right): https://codereview.chromium.org/2698003004/diff/80001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode118 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:118: * that satisfy the given predicate. On ...
3 years, 10 months ago (2017-02-21 16:29:49 UTC) #14
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/2698003004/100001
3 years, 10 months ago (2017-02-21 16:30:17 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Linux Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Linux%20Tryserver/builds/6708)
3 years, 10 months ago (2017-02-21 17:03:20 UTC) #19
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/2698003004/100001
3 years, 10 months ago (2017-02-22 10:27:40 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 10:42:27 UTC) #24
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698