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

Issue 2118783002: scheduler: Add an unthrottled per-frame task runner (Closed)

Created:
4 years, 5 months ago by Sami
Modified:
4 years, 5 months ago
CC:
chromium-reviews, jam, dglazkov+blink, darin-cc_chromium.org, blink-reviews, scheduler-bugs_chromium.org, blink-reviews-api_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

scheduler: Add an unthrottled per-frame task runner Add an unthrottled task runner which will be used for executing internal browser tasks which should never be throttled. In general only tasks whose performance characteristics are known should be posted to this task runner; for example user JavaScript should not be allowed. BUG=624699 Committed: https://crrev.com/b25671fdd0a363d32f328acdefdf7e6ad9eef218 Cr-Commit-Position: refs/heads/master@{#403670}

Patch Set 1 #

Total comments: 7

Patch Set 2 : Nits #

Patch Set 3 : Add implementation in EmptyClients #

Unified diffs Side-by-side diffs Delta from patch set Stats (+105 lines, -3 lines) Patch
M components/scheduler/renderer/renderer_scheduler.h View 1 chunk +4 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M components/scheduler/renderer/renderer_scheduler_impl_unittest.cc View 1 chunk +44 lines, -0 lines 0 comments Download
M components/scheduler/renderer/web_frame_scheduler_impl.h View 2 chunks +3 lines, -0 lines 0 comments Download
M components/scheduler/renderer/web_frame_scheduler_impl.cc View 1 2 chunks +23 lines, -2 lines 0 comments Download
M content/test/fake_renderer_scheduler.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/test/fake_renderer_scheduler.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.cpp View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebFrameScheduler.h View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
Sami
PTAL. By the way, one thing to note about this task runner is that it ...
4 years, 5 months ago (2016-07-01 11:01:20 UTC) #3
alex clarke (OOO till 29th)
lgtm https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/renderer_scheduler.h File components/scheduler/renderer/renderer_scheduler.h (right): https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/renderer_scheduler.h#newcode71 components/scheduler/renderer/renderer_scheduler.h:71: // Returns a task runner for tasks which ...
4 years, 5 months ago (2016-07-01 11:30:05 UTC) #4
haraken
Thanks for working on this! WebKit/ LGTM.
4 years, 5 months ago (2016-07-01 13:04:01 UTC) #6
Sami
https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/renderer_scheduler.h File components/scheduler/renderer/renderer_scheduler.h (right): https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/renderer_scheduler.h#newcode71 components/scheduler/renderer/renderer_scheduler.h:71: // Returns a task runner for tasks which should ...
4 years, 5 months ago (2016-07-01 13:11:43 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2118783002/1
4 years, 5 months ago (2016-07-01 17:54:10 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/253954)
4 years, 5 months ago (2016-07-01 18:42:09 UTC) #11
dcheng
//third_party/WebKit/public LGTM with a followup question https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/web_frame_scheduler_impl.cc File components/scheduler/renderer/web_frame_scheduler_impl.cc (right): https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/web_frame_scheduler_impl.cc#newcode40 components/scheduler/renderer/web_frame_scheduler_impl.cc:40: if (unthrottled_task_queue_.get()) { ...
4 years, 5 months ago (2016-07-04 06:52:35 UTC) #12
alex clarke (OOO till 29th)
https://codereview.chromium.org/2118783002/diff/1/third_party/WebKit/public/platform/WebFrameScheduler.h File third_party/WebKit/public/platform/WebFrameScheduler.h (right): https://codereview.chromium.org/2118783002/diff/1/third_party/WebKit/public/platform/WebFrameScheduler.h#newcode37 third_party/WebKit/public/platform/WebFrameScheduler.h:37: // WebFrameScheduler owns the returned WebTaskRunner. On 2016/07/04 06:52:35, ...
4 years, 5 months ago (2016-07-04 09:02:19 UTC) #13
Sami
Thanks for the review. https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/web_frame_scheduler_impl.cc File components/scheduler/renderer/web_frame_scheduler_impl.cc (right): https://codereview.chromium.org/2118783002/diff/1/components/scheduler/renderer/web_frame_scheduler_impl.cc#newcode40 components/scheduler/renderer/web_frame_scheduler_impl.cc:40: if (unthrottled_task_queue_.get()) { On 2016/07/04 ...
4 years, 5 months ago (2016-07-04 09:28:43 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/2118783002/20001
4 years, 5 months ago (2016-07-04 09:29:09 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/196066)
4 years, 5 months ago (2016-07-04 10:19:27 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/2118783002/40001
4 years, 5 months ago (2016-07-04 11:17:00 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-04 12:29:58 UTC) #24
commit-bot: I haz the power
4 years, 5 months ago (2016-07-04 12:31:37 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b25671fdd0a363d32f328acdefdf7e6ad9eef218
Cr-Commit-Position: refs/heads/master@{#403670}

Powered by Google App Engine
This is Rietveld 408576698