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

Changeset 259771 in webkit


Ignore:
Timestamp:
Apr 8, 2020, 5:41:18 PM (6 years ago)
Author:
Brent Fulgham
Message:

REGRESSION(r257758): Launch time performance regression
https://bugs.webkit.org/show_bug.cgi?id=210157
<rdar://problem/61119881>

Reviewed by Alex Christensen.

Address a launch time performance regression in the WebProcessPool constructor
by starting a potentially slow server call in the constructor, and only waiting
for its result if it has not been received when the value is needed.

  • UIProcess/WebProcessPool.cpp:

(WebProcessPool::WebProcessPool): Start initialization function in constructor,
rather than blocking for the

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r259770 r259771  
     12020-04-08  Brent Fulgham  <bfulgham@apple.com>
     2
     3        REGRESSION(r257758): Launch time performance regression
     4        https://bugs.webkit.org/show_bug.cgi?id=210157
     5        <rdar://problem/61119881>
     6
     7        Reviewed by Alex Christensen.
     8
     9        Address a launch time performance regression in the WebProcessPool constructor
     10        by starting a potentially slow server call in the constructor, and only waiting
     11        for its result if it has not been received when the value is needed.
     12
     13        * UIProcess/WebProcessPool.cpp:
     14        (WebProcessPool::WebProcessPool): Start initialization function in constructor,
     15        rather than blocking for the
     16
    1172020-04-08  Alex Christensen  <achristensen@webkit.org>
    218
  • trunk/Source/WebKit/UIProcess/WebProcessPool.cpp

    r259688 r259771  
    144144#define WEB_PROCESS_POOL_ADDITIONS_2
    145145#define WEB_PROCESS_POOL_ADDITIONS_3
     146#define WEB_PROCESS_POOL_ADDITIONS_4
    146147#endif
    147148
     
    266267        WebCore::NetworkStorageSession::permitProcessToUseCookieAPI(true);
    267268        Process::setIdentifier(WebCore::ProcessIdentifier::generate());
     269        WEB_PROCESS_POOL_ADDITIONS_4
    268270    });
    269271
Note: See TracChangeset for help on using the changeset viewer.