⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 181649 in webkit


Ignore:
Timestamp:
Mar 17, 2015, 8:48:32 AM (11 years ago)
Author:
Chris Dumez
Message:

'pageLoaded' diagnostic logging is too verbose
https://bugs.webkit.org/show_bug.cgi?id=142727
<rdar://problem/18937048>

Reviewed by Eric Carlson.

Make 'pageLoaded' diagnostic logging less verbose:

  • Log once per main frame instead of once for subframe
  • Apply sampling
  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::checkLoadCompleteForThisFrame):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181643 r181649  
     12015-03-17  Chris Dumez  <cdumez@apple.com>
     2
     3        'pageLoaded' diagnostic logging is too verbose
     4        https://bugs.webkit.org/show_bug.cgi?id=142727
     5        <rdar://problem/18937048>
     6
     7        Reviewed by Eric Carlson.
     8
     9        Make 'pageLoaded' diagnostic logging less verbose:
     10        - Log once per main frame instead of once for subframe
     11        - Apply sampling
     12
     13        * loader/FrameLoader.cpp:
     14        (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
     15
    1162015-03-17  Carlos Garcia Campos  <cgarcia@igalia.com>
    217
  • trunk/Source/WebCore/loader/FrameLoader.cpp

    r180704 r181649  
    22702270                cache->frameLoadingEventNotification(&m_frame, loadingEvent);
    22712271
    2272             if (page)
    2273                 page->mainFrame().diagnosticLoggingClient().logDiagnosticMessageWithResult(DiagnosticLoggingKeys::pageLoadedKey(), emptyString(), error.isNull() ? DiagnosticLoggingResultPass : DiagnosticLoggingResultFail, ShouldSample::No);
     2272            if (page && m_frame.isMainFrame())
     2273                page->mainFrame().diagnosticLoggingClient().logDiagnosticMessageWithResult(DiagnosticLoggingKeys::pageLoadedKey(), emptyString(), error.isNull() ? DiagnosticLoggingResultPass : DiagnosticLoggingResultFail, ShouldSample::Yes);
    22742274
    22752275            return;
Note: See TracChangeset for help on using the changeset viewer.