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

Issue 2738813003: Ensure the scheduler always changes from UseCase LOADING to NONE. (Closed)

Created:
3 years, 9 months ago by Dan Elphick
Modified:
3 years, 9 months ago
CC:
chromium-reviews, blink-reviews, dshwang, blink-reviews-paint_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure the scheduler always changes from UseCase LOADING to NONE. Always mark a first meaningful paint candidate to ensure the scheduler changes UseCase from LOADING to NONE. This is necessary because fast loading pages may only see one contentful paint which means the FMPD doesn't fire again and the Scheduler stays in LOADING long after the page is done. BUG=699101 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2738813003 Cr-Commit-Position: refs/heads/master@{#457049} Committed: https://chromium.googlesource.com/chromium/src/+/9d780d130566384f6aff63f127e92340f31a815d

Patch Set 1 #

Patch Set 2 : Create a test that verifies that network stable creates a FMP candidate. #

Total comments: 2

Patch Set 3 : Update FMPD to use the provisional time rather than the current time. #

Total comments: 4

Patch Set 4 : rename markFirstMeaningfulPaintCandidate to setFirstMeaningfulPaintCandidate. delete errant comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -4 lines) Patch
M third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintTiming.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintTiming.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (14 generated)
Dan Elphick
3 years, 9 months ago (2017-03-09 12:30:42 UTC) #8
Sami
Looks great -- could we also test this in FirstMeaningfulPaintDetectorTest?
3 years, 9 months ago (2017-03-09 13:35:07 UTC) #9
Dan Elphick
On 2017/03/09 13:35:07, Sami wrote: > Looks great -- could we also test this in ...
3 years, 9 months ago (2017-03-13 11:34:52 UTC) #10
Sami
Thanks, lgtm!
3 years, 9 months ago (2017-03-13 12:06:34 UTC) #11
Dan Elphick
+kouhei@ This extends Sami's previous work and ensures that we always leave the LOADING state.
3 years, 9 months ago (2017-03-13 12:17:25 UTC) #13
kouhei (in TOK)
+ksakamoto
3 years, 9 months ago (2017-03-13 13:04:47 UTC) #15
kouhei (in TOK)
https://codereview.chromium.org/2738813003/diff/20001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp File third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp (right): https://codereview.chromium.org/2738813003/diff/20001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp#newcode129 third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp:129: m_paintTiming->markFirstMeaningfulPaintCandidate(); I'm convinced that we need to signal scheduler ...
3 years, 9 months ago (2017-03-13 19:22:49 UTC) #17
Kunihiko Sakamoto
https://codereview.chromium.org/2738813003/diff/20001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp File third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp (right): https://codereview.chromium.org/2738813003/diff/20001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp#newcode129 third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp:129: m_paintTiming->markFirstMeaningfulPaintCandidate(); On 2017/03/13 19:22:48, kouhei wrote: > I'm convinced ...
3 years, 9 months ago (2017-03-14 01:44:26 UTC) #18
Dan Elphick
On 2017/03/14 01:44:26, Kunihiko Sakamoto wrote: > https://codereview.chromium.org/2738813003/diff/20001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp > File third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetector.cpp > (right): > > ...
3 years, 9 months ago (2017-03-14 11:11:53 UTC) #19
Kunihiko Sakamoto
lgtm with comments https://codereview.chromium.org/2738813003/diff/40001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp File third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp (right): https://codereview.chromium.org/2738813003/diff/40001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp#newcode122 third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp:122: // candidate. Remove this line https://codereview.chromium.org/2738813003/diff/40001/third_party/WebKit/Source/core/paint/PaintTiming.h ...
3 years, 9 months ago (2017-03-15 01:59:19 UTC) #20
kouhei (in TOK)
rs lgtm
3 years, 9 months ago (2017-03-15 02:00:26 UTC) #21
Dan Elphick
Thanks https://codereview.chromium.org/2738813003/diff/40001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp File third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp (right): https://codereview.chromium.org/2738813003/diff/40001/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp#newcode122 third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp:122: // candidate. On 2017/03/15 01:59:19, Kunihiko Sakamoto wrote: ...
3 years, 9 months ago (2017-03-15 09:25:07 UTC) #22
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/2738813003/60001
3 years, 9 months ago (2017-03-15 09:26:20 UTC) #25
commit-bot: I haz the power
3 years, 9 months ago (2017-03-15 10:46:17 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9d780d130566384f6aff63f127e9...

Powered by Google App Engine
This is Rietveld 408576698