Issue metadata
Sign in to add a comment
|
8.2%-18.3% regression in thread_times.key_mobile_sites_smooth at 523134:523222 |
||||||||||||||||||||||
Issue descriptionSee the link to graphs below.
,
Jan 22 2018
graphs: https://chromeperf.appspot.com/group_report?bug_id=794986 Kicked off some more bisects, looks like the dashboard didn't update this bug correctly.
,
Jan 22 2018
๐ Pinpoint job started. https://pinpoint-dot-chromeperf.appspot.com/job/14a4cce4840000
,
Jan 23 2018
๐ Couldn't reproduce a difference. https://pinpoint-dot-chromeperf.appspot.com/job/14a4cce4840000
,
Jan 29 2018
Simon, Dave: more bisects failing to reproduce values, anythign we can do here?
,
Jan 29 2018
๐ Pinpoint job started. https://pinpoint-dot-chromeperf.appspot.com/job/149d9d4a840000
,
Jan 29 2018
๐ Pinpoint job started. https://pinpoint-dot-chromeperf.appspot.com/job/12f75eda840000
,
Jan 29 2018
,
Jan 30 2018
๐ Found a significant difference after 1 commit. https://pinpoint-dot-chromeperf.appspot.com/job/12f75eda840000 cc: Change heuristics for prioritizing impl-side invalidations. By khushalsagar@chromium.org ยท Mon Dec 11 19:54:02 2017 chromium @ 17b77d94eb6f27e6cac263969fe9999522f2ade2 Understanding performance regressions: http://g.co/ChromePerformanceRegressions
,
Jan 30 2018
๐ Found a significant difference after 1 commit. https://pinpoint-dot-chromeperf.appspot.com/job/149d9d4a840000 cc: Change heuristics for prioritizing impl-side invalidations. By khushalsagar@chromium.org ยท Mon Dec 11 19:54:02 2017 chromium @ 17b77d94eb6f27e6cac263969fe9999522f2ade2 Understanding performance regressions: http://g.co/ChromePerformanceRegressions
,
Jan 31 2018
So looks like the logic for deciding whether the main thread is slow, and we should prioritize performing an impl-side invalidation over waiting to merge them with the main frame, does not run for Webview at all. So we always assume the main thread to be slow and invalidate before it can commit. Given that we don't have a draw deadline with sync compositing, I'm not sure what heuristics we could use, other than always waiting on the main thread.
,
Jan 31 2018
๐ Pinpoint job started. https://pinpoint-dot-chromeperf.appspot.com/job/14b2e216840000
,
Jan 31 2018
This should fix it: https://chromium-review.googlesource.com/c/chromium/src/+/895188.
,
Feb 1 2018
๐ Pinpoint job started. https://pinpoint-dot-chromeperf.appspot.com/job/15c00bf6840000
,
Feb 1 2018
๐ Found a significant difference after 1 commit. https://pinpoint-dot-chromeperf.appspot.com/job/15c00bf6840000 [Modern] Modernize the accessibility tab switcher By mdjones@chromium.org ยท Thu Feb 01 02:06:39 2018 chromium @ bb3933892e1499aafdb25841ca90ff6c5e8ccf94 Understanding performance regressions: http://g.co/ChromePerformanceRegressions
,
Feb 1 2018
I don't know what pinpoint did there. I had ran this for the patch in #13.
,
Feb 1 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/10d3a66963310f7dc33b4f6478304439784da28e commit 10d3a66963310f7dc33b4f6478304439784da28e Author: Khushal <khushalsagar@chromium.org> Date: Thu Feb 01 06:38:44 2018 cc: Defer impl-side invalidations for main frame with sync scheduling. With sync scheduling, we don't have a draw deadline that can be used to predict whether the main thread will commit before it. Since the heuristic for detecting this does not for the sync scheduling case, currently we default to assume it to be slow and always perform the invalidation at the beginning of frame. This will result in more raster and block the main thread from committing. This change ensures that with sync compositing, we always defer the invalidation in order to merge with the main frame. R=brianderson@chromium.org Bug: 794986 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: If56ad4136de91d999dcf3423a90580ba64a1ccb1 Reviewed-on: https://chromium-review.googlesource.com/895188 Reviewed-by: Brian Anderson <brianderson@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#533599} [modify] https://crrev.com/10d3a66963310f7dc33b4f6478304439784da28e/cc/scheduler/scheduler_state_machine.h [modify] https://crrev.com/10d3a66963310f7dc33b4f6478304439784da28e/cc/scheduler/scheduler_state_machine_unittest.cc [modify] https://crrev.com/10d3a66963310f7dc33b4f6478304439784da28e/cc/scheduler/scheduler_unittest.cc
,
Feb 2 2018
Brian, do you think this should be merged to 65? Its definitely going to put the main thread in high latency whenever cc animates an image.
,
Feb 2 2018
Yeah, let's merge to 65. It's low risk and it's a while before 65 goes stable.
,
Feb 3 2018
Your change meets the bar and is auto-approved for M65. Please go ahead and merge the CL to branch 3325 manually. Please contact milestone owner if you have questions. Owners: cmasso@(Android), cmasso@(iOS), bhthompson@(ChromeOS), govind@(Desktop) For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Feb 3 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d6389cc2cc5e4621e756b1f3e7c9f7a767144d8f commit d6389cc2cc5e4621e756b1f3e7c9f7a767144d8f Author: Khushal <khushalsagar@chromium.org> Date: Sat Feb 03 01:34:38 2018 cc: Defer impl-side invalidations for main frame with sync scheduling. With sync scheduling, we don't have a draw deadline that can be used to predict whether the main thread will commit before it. Since the heuristic for detecting this does not for the sync scheduling case, currently we default to assume it to be slow and always perform the invalidation at the beginning of frame. This will result in more raster and block the main thread from committing. This change ensures that with sync compositing, we always defer the invalidation in order to merge with the main frame. R=โbrianderson@chromium.org Bug: 794986 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel Change-Id: If56ad4136de91d999dcf3423a90580ba64a1ccb1 Reviewed-on: https://chromium-review.googlesource.com/895188 Reviewed-by: Brian Anderson <brianderson@chromium.org> Commit-Queue: Khushal <khushalsagar@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#533599}(cherry picked from commit 10d3a66963310f7dc33b4f6478304439784da28e) Reviewed-on: https://chromium-review.googlesource.com/900462 Reviewed-by: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/branch-heads/3325@{#277} Cr-Branched-From: bc084a8b5afa3744a74927344e304c02ae54189f-refs/heads/master@{#530369} [modify] https://crrev.com/d6389cc2cc5e4621e756b1f3e7c9f7a767144d8f/cc/scheduler/scheduler_state_machine.h [modify] https://crrev.com/d6389cc2cc5e4621e756b1f3e7c9f7a767144d8f/cc/scheduler/scheduler_state_machine_unittest.cc [modify] https://crrev.com/d6389cc2cc5e4621e756b1f3e7c9f7a767144d8f/cc/scheduler/scheduler_unittest.cc
,
Feb 5 2018
,
Feb 6 2018
And the graphs have recovered. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by sullivan@chromium.org
, Jan 22 2018