Changeset 246267 in webkit


Ignore:
Timestamp:
Jun 10, 2019 10:41:32 AM (5 years ago)
Author:
ajuma@chromium.org
Message:

REGRESSION (r245396): Page load time performance regression
https://bugs.webkit.org/show_bug.cgi?id=198382

Reviewed by Per Arne Vollan.

Use a delay of 2000ms instead of 500ms when scheduling rendering updates
for IntersectionObserver targets added during page load. This is a
speculative fix for a page load time regression caused by r245396 and
still not fixed after r245958.

  • dom/Document.cpp:

(WebCore::Document::scheduleTimedRenderingUpdate):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r246264 r246267  
     12019-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
    1162019-06-10  Sihui Liu  <sihui_liu@apple.com>
    217
  • trunk/Source/WebCore/dom/Document.cpp

    r246231 r246267  
    354354
    355355#if ENABLE(INTERSECTION_OBSERVER)
    356 static const Seconds intersectionObserversInitialUpdateDelay { 500_ms };
     356static const Seconds intersectionObserversInitialUpdateDelay { 2000_ms };
    357357#endif
    358358
     
    72957295void Document::scheduleTimedRenderingUpdate()
    72967296{
     7297#if ENABLE(INTERSECTION_OBSERVER)
     7298    m_intersectionObserversInitialUpdateTimer.stop();
     7299#endif
    72977300    if (auto page = this->page())
    72987301        page->renderingUpdateScheduler().scheduleTimedRenderingUpdate();
Note: See TracChangeset for help on using the changeset viewer.