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

Issue 2696053002: Make estimatedInputLatency metric more friendly for traces without TTI. (Closed)

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

Description

Make estimatedInputLatency metric more friendly for traces without TTI. Currently the metric throws an error if the trace does not have TTI or has multiple TTIs. This makes the metric hard to use since one usually does not know whether a benchmark has a single TTI or not. Now instead of throwing the metric skips such traces. The EIL for interactive time is produced only if the trace has a single TTI. Once https://crbug.com/692112 is fixed, interactive EIL will be produced also for traces with multiple TTIs. Apart from that, the patch adds a new metric that computes the EIL for the whole timeline. BUG=chromium:625701 Review-Url: https://codereview.chromium.org/2696053002 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/1ebfddc4d6f29a3588fc29b3456921dc83d25cf5

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address Tim's comments #

Total comments: 4

Patch Set 3 : Rewrite JSDoc, fix typo. #

Patch Set 4 : Simplify histogram creation #

Total comments: 2

Patch Set 5 : Fix typo #

Total comments: 6

Patch Set 6 : Address Ben's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -39 lines) Patch
M tracing/tracing/metrics/system_health/estimated_input_latency_metric.html View 1 2 3 4 5 2 chunks +44 lines, -29 lines 0 comments Download
M tracing/tracing/metrics/system_health/estimated_input_latency_metric_test.html View 3 chunks +17 lines, -10 lines 0 comments Download

Messages

Total messages: 31 (14 generated)
ulan
PTAL.
3 years, 10 months ago (2017-02-14 19:53:29 UTC) #4
tdresser
The description is a bit confusing. "Now the metric computes the EIL for the whole ...
3 years, 10 months ago (2017-02-14 20:03:41 UTC) #5
ulan
Thanks. I updated the CL description. https://codereview.chromium.org/2696053002/diff/1/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/2696053002/diff/1/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode48 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:48: * It must ...
3 years, 10 months ago (2017-02-14 20:37:30 UTC) #8
tdresser
LGTM https://codereview.chromium.org/2696053002/diff/1/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/2696053002/diff/1/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode48 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:48: * It must be either 'interactive' or 'total'. ...
3 years, 10 months ago (2017-02-14 21:01:36 UTC) #9
tdresser
+charliea@, to comment on whitespace nit.
3 years, 10 months ago (2017-02-14 21:02:03 UTC) #11
ulan
Thanks for adding charliea@. I rewrote the JSDoc to avoid leading whitespaces, but I am ...
3 years, 10 months ago (2017-02-15 10:09:19 UTC) #12
ulan
charliea@, besides the JSDoc style issue, may I ask you for owner's stamp?
3 years, 10 months ago (2017-02-15 10:20:08 UTC) #14
ulan
I simplified histogram creation in the latest patch set. Now createHistogramForEQT_ just accepts histogram name ...
3 years, 10 months ago (2017-02-15 12:57:06 UTC) #15
tdresser
Thanks, this is better. Still LGTM. https://codereview.chromium.org/2696053002/diff/1/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/2696053002/diff/1/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode48 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:48: * It must ...
3 years, 10 months ago (2017-02-15 15:47:04 UTC) #16
ulan
> > The Google JS style guide says "don't rely on whitespace to format JSDoc", ...
3 years, 10 months ago (2017-02-15 16:32:14 UTC) #17
ulan
Gentle ping for owner's stamp, charliea@. Please lmk if you have a lot in your ...
3 years, 10 months ago (2017-02-16 19:33:07 UTC) #20
benjhayden
1 nit and 2 requests for followup CLs then lgtm https://codereview.chromium.org/2696053002/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/2696053002/diff/80001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode46 ...
3 years, 10 months ago (2017-02-17 19:33:30 UTC) #22
ulan
Thank you, landing. https://codereview.chromium.org/2696053002/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/2696053002/diff/80001/tracing/tracing/metrics/system_health/estimated_input_latency_metric.html#newcode46 tracing/tracing/metrics/system_health/estimated_input_latency_metric.html:46: * Returns a histogram for EQT ...
3 years, 10 months ago (2017-02-17 19:46:23 UTC) #23
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/2696053002/90001
3 years, 10 months ago (2017-02-17 19:46:32 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:90001) as https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/1ebfddc4d6f29a3588fc29b3456921dc83d25cf5
3 years, 10 months ago (2017-02-17 20:08:12 UTC) #29
charliea (OOO until 10-5)
Sorry about the delay, ulan. Defer to benjhayden@ and tdresser@ for their stamps.
3 years, 10 months ago (2017-02-17 20:27:07 UTC) #30
ulan
3 years, 10 months ago (2017-02-17 20:46:47 UTC) #31
Message was sent while issue was closed.
On 2017/02/17 20:27:07, charliea wrote:
> Sorry about the delay, ulan. Defer to benjhayden@ and tdresser@ for their
> stamps.

No problem, landed the CL :)

Powered by Google App Engine
This is Rietveld 408576698