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

Issue 2885313003: [scheduler] Fix --disable-background-timer-throttling flag. (Closed)

Created:
3 years, 7 months ago by altimin
Modified:
3 years, 7 months ago
CC:
chromium-reviews, mlamouri+watch-blink_chromium.org, eric.carlson_apple.com, abarth-chromium, feature-media-reviews_chromium.org, blink-reviews, kinuko+watch, scheduler-bugs_chromium.org, Srirama
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[scheduler] Fix --disable-background-timer-throttling flag. Make RendererScheduler respect disable-background-timer-throttling flag when calculating policies for background renderer. This patch also adds a test to make sure that we do not regress again. Also scheduler simulation tests are moved to web/tests/scheduler R=skyostil@chromium.org,alexclarke@chromium.org BUG=722891 Review-Url: https://codereview.chromium.org/2885313003 Cr-Commit-Position: refs/heads/master@{#473217} Committed: https://chromium.googlesource.com/chromium/src/+/bbe259ac4325ebdbce04e317b68324faabef440c

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments & fixed compilation #

Patch Set 3 : fix compilation? #

Patch Set 4 : fix compilation? (again) #

Patch Set 5 : fix test crash #

Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -1288 lines) Patch
M third_party/WebKit/Source/platform/scheduler/child/web_scheduler.h View 1 2 3 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_web_scheduler_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scheduler/renderer/renderer_web_scheduler_impl.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/wtf/Deque.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/BUILD.gn View 1 2 3 3 chunks +3 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/web/tests/ActiveConnectionThrottlingTest.cpp View 1 chunk +0 lines, -136 lines 0 comments Download
M third_party/WebKit/Source/web/tests/DeferredLoadingTest.cpp View 1 chunk +6 lines, -1 line 0 comments Download
D third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp View 1 chunk +0 lines, -1142 lines 0 comments Download
M third_party/WebKit/Source/web/tests/HTMLImportSheetsTest.cpp View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/tests/MediaElementFillingViewportTest.cpp View 1 chunk +6 lines, -1 line 0 comments Download
A + third_party/WebKit/Source/web/tests/scheduler/ActiveConnectionThrottlingTest.cpp View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download
A third_party/WebKit/Source/web/tests/scheduler/OWNERS View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/scheduler/README.md View 1 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/scheduler/ThrottlingTest.cpp View 1 2 1 chunk +69 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimTest.h View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/tests/sim/SimTest.cpp View 2 chunks +8 lines, -3 lines 0 comments Download

Messages

Total messages: 40 (30 generated)
altimin
PTAL
3 years, 7 months ago (2017-05-17 16:25:24 UTC) #1
altimin
+haraken@, PTAL
3 years, 7 months ago (2017-05-17 21:13:24 UTC) #7
haraken1
LGTM although I want to have Alex or Sami take another look. https://codereview.chromium.org/2885313003/diff/1/third_party/WebKit/Source/web/tests/scheduler/README File third_party/WebKit/Source/web/tests/scheduler/README ...
3 years, 7 months ago (2017-05-18 07:00:26 UTC) #9
alex clarke (OOO till 29th)
LGTM % nits https://codereview.chromium.org/2885313003/diff/1/third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp File third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp (right): https://codereview.chromium.org/2885313003/diff/1/third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp#newcode68 third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp:68: FrameThrottlingTest() : ScopedRootLayerScrollingForTest(GetParam()){}; nit: don't need ...
3 years, 7 months ago (2017-05-18 07:24:01 UTC) #10
altimin
haraken@, could you please approve from @chromium.org account? https://codereview.chromium.org/2885313003/diff/1/third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp File third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp (right): https://codereview.chromium.org/2885313003/diff/1/third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp#newcode68 third_party/WebKit/Source/web/tests/scheduler/FrameThrottlingTest.cpp:68: FrameThrottlingTest() ...
3 years, 7 months ago (2017-05-18 10:59:39 UTC) #13
haraken
LGTM from a right account.
3 years, 7 months ago (2017-05-18 14:34:59 UTC) #16
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/2885313003/60001
3 years, 7 months ago (2017-05-18 16:06:32 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/374055)
3 years, 7 months ago (2017-05-18 18:21:03 UTC) #29
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/2885313003/80001
3 years, 7 months ago (2017-05-19 16:51:26 UTC) #36
commit-bot: I haz the power
3 years, 7 months ago (2017-05-19 16:57:49 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/bbe259ac4325ebdbce04e317b683...

Powered by Google App Engine
This is Rietveld 408576698