Changeset 246267 in webkit
- Timestamp:
- Jun 10, 2019, 10:41:32 AM (6 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r246264 r246267 1 2019-06-10 Ali Juma <ajuma@chromium.org> 2 3 REGRESSION (r245396): Page load time performance regression 4 https://bugs.webkit.org/show_bug.cgi?id=198382 5 6 Reviewed by Per Arne Vollan. 7 8 Use a delay of 2000ms instead of 500ms when scheduling rendering updates 9 for IntersectionObserver targets added during page load. This is a 10 speculative fix for a page load time regression caused by r245396 and 11 still not fixed after r245958. 12 13 * dom/Document.cpp: 14 (WebCore::Document::scheduleTimedRenderingUpdate): 15 1 16 2019-06-10 Sihui Liu <sihui_liu@apple.com> 2 17 -
trunk/Source/WebCore/dom/Document.cpp
r246231 r246267 354 354 355 355 #if ENABLE(INTERSECTION_OBSERVER) 356 static const Seconds intersectionObserversInitialUpdateDelay { 500_ms };356 static const Seconds intersectionObserversInitialUpdateDelay { 2000_ms }; 357 357 #endif 358 358 … … 7295 7295 void Document::scheduleTimedRenderingUpdate() 7296 7296 { 7297 #if ENABLE(INTERSECTION_OBSERVER) 7298 m_intersectionObserversInitialUpdateTimer.stop(); 7299 #endif 7297 7300 if (auto page = this->page()) 7298 7301 page->renderingUpdateScheduler().scheduleTimedRenderingUpdate();
Note:
See TracChangeset
for help on using the changeset viewer.