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

Issue 2871573006: Gracefully handle floating-point precision errors in the EQT metric. (Closed)

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

Description

Gracefully handle floating-point precision errors in the EQT metric. The following example from a real trace shows that the top-level tasks can have overlap of about 0.2ms due to precision errors: task1: start=25851.0181016922 end=25851.0481016922, task2: start=25851.0251016616 end=34496.0291013717. This patch bumps up the threshold for task overlap detection in the EQT metric and adjusts the task endpoints to remove the overlap caused by precision errors. Review-Url: https://codereview.chromium.org/2871573006 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/23c9f59f4c6bba6a92e5bcae0a1a3d626db5dee3

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address comments #

Patch Set 3 : fix typo #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -9 lines) Patch
M tracing/tracing/extras/chrome/estimated_input_latency.html View 1 2 3 1 chunk +11 lines, -4 lines 0 comments Download
M tracing/tracing/extras/chrome/estimated_input_latency_test.html View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
ulan
ptal
3 years, 7 months ago (2017-05-09 09:35:23 UTC) #2
tdresser
Looks good. I just want to confirm our approach to throwing vs recovering all the ...
3 years, 7 months ago (2017-05-09 12:16:15 UTC) #3
ulan
Thank you for review. https://codereview.chromium.org/2871573006/diff/1/tracing/tracing/extras/chrome/estimated_input_latency.html File tracing/tracing/extras/chrome/estimated_input_latency.html (right): https://codereview.chromium.org/2871573006/diff/1/tracing/tracing/extras/chrome/estimated_input_latency.html#newcode311 tracing/tracing/extras/chrome/estimated_input_latency.html:311: let sortedTasks = tasks.slice().sort((a, b) ...
3 years, 7 months ago (2017-05-09 17:23:42 UTC) #4
tdresser
LGTM https://codereview.chromium.org/2871573006/diff/1/tracing/tracing/extras/chrome/estimated_input_latency.html File tracing/tracing/extras/chrome/estimated_input_latency.html (right): https://codereview.chromium.org/2871573006/diff/1/tracing/tracing/extras/chrome/estimated_input_latency.html#newcode313 tracing/tracing/extras/chrome/estimated_input_latency.html:313: for (let i = 1; i < sortedTasks.length; ...
3 years, 7 months ago (2017-05-09 17:27:14 UTC) #5
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/2871573006/20001
3 years, 7 months ago (2017-05-09 19:36:16 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Presubmit on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Presubmit/builds/7099)
3 years, 7 months ago (2017-05-09 19:39:05 UTC) #9
ulan
+benjhayden@ for owner's stamp.
3 years, 7 months ago (2017-05-10 09:25:55 UTC) #11
benjhayden
On 2017/05/10 at 09:25:55, ulan wrote: > +benjhayden@ for owner's stamp. LGTM Looks like you ...
3 years, 7 months ago (2017-05-10 18:21:30 UTC) #12
ulan
On 2017/05/10 18:21:30, benjhayden wrote: > On 2017/05/10 at 09:25:55, ulan wrote: > > +benjhayden@ ...
3 years, 7 months ago (2017-05-11 10:29:30 UTC) #13
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/2871573006/60001
3 years, 7 months ago (2017-05-11 10:29:37 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-11 10:53:50 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698