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

Issue 1165853002: Pipe impl_latency_takes_priority_ to the RenderScheduler. (Closed)

Created:
5 years, 6 months ago by alex clarke (OOO till 29th)
Modified:
5 years, 6 months ago
Reviewers:
Sami, brianderson
CC:
chromium-reviews, cc-bugs_chromium.org, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pipe impl_latency_takes_priority_ to the RenderScheduler. The scheduler will use this as a signal to help determine when blink timers can be limited to running only during idle time. BUG=463143 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/c8ff6cd3e974e84ad82ea521d68b014961b04d24 Cr-Commit-Position: refs/heads/master@{#333740}

Patch Set 1 #

Patch Set 2 : Various fixes #

Patch Set 3 : Added a couple of tests to SchedulerTest #

Patch Set 4 : Rebased #

Total comments: 7

Patch Set 5 : Made the flag default #

Total comments: 6

Patch Set 6 : Fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -2 lines) Patch
M cc/output/begin_frame_args.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/begin_frame_args.cc View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M cc/output/begin_frame_args_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/scheduler/scheduler.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M cc/scheduler/scheduler_unittest.cc View 1 2 3 4 1 chunk +33 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.cc View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl_unittest.cc View 1 2 3 4 5 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (19 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/1
5 years, 6 months ago (2015-06-03 12:33:50 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/95114)
5 years, 6 months ago (2015-06-03 12:42:30 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/20001
5 years, 6 months ago (2015-06-03 12:55:47 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/77491)
5 years, 6 months ago (2015-06-03 13:09:29 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/40001
5 years, 6 months ago (2015-06-03 13:15:43 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_dbg/builds/77496)
5 years, 6 months ago (2015-06-03 13:29:04 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/60001
5 years, 6 months ago (2015-06-03 13:55:03 UTC) #16
alex clarke (OOO till 29th)
My knowledge of the compositor is limited, and I was surprised by how many places ...
5 years, 6 months ago (2015-06-03 14:55:55 UTC) #18
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-03 16:03:36 UTC) #20
alex clarke (OOO till 29th)
On 2015/06/03 16:03:36, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 6 months ago (2015-06-03 17:22:32 UTC) #21
alex clarke (OOO till 29th)
On 2015/06/03 17:22:32, alexclarke1 wrote: > On 2015/06/03 16:03:36, commit-bot: I haz the power wrote: ...
5 years, 6 months ago (2015-06-04 09:25:06 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/100001
5 years, 6 months ago (2015-06-08 10:49:35 UTC) #24
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-08 11:46:32 UTC) #26
Sami
I guess the overall question is whether this bit makes sense in all contexts where ...
5 years, 6 months ago (2015-06-08 11:47:53 UTC) #27
alex clarke (OOO till 29th)
https://codereview.chromium.org/1165853002/diff/100001/cc/output/begin_frame_args.cc File cc/output/begin_frame_args.cc (right): https://codereview.chromium.org/1165853002/diff/100001/cc/output/begin_frame_args.cc#newcode31 cc/output/begin_frame_args.cc:31: on_critical_path(false) { On 2015/06/08 11:47:53, Sami wrote: > I'm ...
5 years, 6 months ago (2015-06-08 16:58:07 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/120001
5 years, 6 months ago (2015-06-08 16:58:53 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/25686)
5 years, 6 months ago (2015-06-08 17:47:39 UTC) #32
brianderson
I say go ahead and add this flag for all BeginFrames. It'll be a long ...
5 years, 6 months ago (2015-06-09 01:12:42 UTC) #33
Sami
Thanks Brian. https://codereview.chromium.org/1165853002/diff/120001/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): https://codereview.chromium.org/1165853002/diff/120001/cc/scheduler/scheduler.cc#newcode357 cc/scheduler/scheduler.cc:357: adjusted_args.on_critical_path = !ImplLatencyTakesPriority(); On 2015/06/09 01:12:42, brianderson ...
5 years, 6 months ago (2015-06-09 09:47:34 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/140001
5 years, 6 months ago (2015-06-09 11:11:36 UTC) #36
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 6 months ago (2015-06-09 12:13:18 UTC) #38
brianderson
lgtm https://codereview.chromium.org/1165853002/diff/120001/cc/scheduler/scheduler.cc File cc/scheduler/scheduler.cc (right): https://codereview.chromium.org/1165853002/diff/120001/cc/scheduler/scheduler.cc#newcode357 cc/scheduler/scheduler.cc:357: adjusted_args.on_critical_path = !ImplLatencyTakesPriority(); On 2015/06/09 09:47:34, Sami wrote: ...
5 years, 6 months ago (2015-06-10 01:13:35 UTC) #39
Sami
(lgtm)++
5 years, 6 months ago (2015-06-10 14:54:56 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1165853002/140001
5 years, 6 months ago (2015-06-10 14:56:14 UTC) #42
commit-bot: I haz the power
Committed patchset #6 (id:140001)
5 years, 6 months ago (2015-06-10 15:52:52 UTC) #43
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/c8ff6cd3e974e84ad82ea521d68b014961b04d24 Cr-Commit-Position: refs/heads/master@{#333740}
5 years, 6 months ago (2015-06-10 15:54:36 UTC) #44
mithro-old
This is kind of late because the patch has already landed but when is BeginMainFrame ...
5 years, 6 months ago (2015-06-12 13:35:34 UTC) #45
alex clarke (OOO till 29th)
5 years, 6 months ago (2015-06-12 13:41:53 UTC) #46
Message was sent while issue was closed.
On 2015/06/12 13:35:34, mithro wrote:
> This is kind of late because the patch has already landed but when is
> BeginMainFrame not on the critical path?

When we are compositor scrolling.

 Why do we ever want to run timers not
> in idle time?

It's the inverse, if BeginMainFrame is on the critical path, we want to limit
timers to idle periods, provided the scheduler is in compositor priority mode
and doing so won't unduly starve timers.

Powered by Google App Engine
This is Rietveld 408576698