RESOLVED FIXED 62480
WebKit2: improve first page load speed by adding API to launch WebProcess earlier
https://bugs.webkit.org/show_bug.cgi?id=62480
Summary WebKit2: improve first page load speed by adding API to launch WebProcess ear...
Stephanie Lewis
Reported 2011-06-10 14:46:40 PDT
The first page load takes longer on WebKit2 because we have to wait for the WebProcess to launch. Add API to launch it preemptively if we'd like.
Attachments
patch (2.09 KB, patch)
2011-06-10 14:49 PDT, Stephanie Lewis
sam: review-
patch (2.84 KB, patch)
2011-06-10 19:17 PDT, Stephanie Lewis
sam: review+
Stephanie Lewis
Comment 1 2011-06-10 14:49:58 PDT
Sam Weinig
Comment 2 2011-06-10 18:15:53 PDT
Comment on attachment 96793 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=96793&action=review > Source/WebKit2/UIProcess/API/C/WKContext.cpp:104 > + toImpl(contextRef)->ensureWebProcess(); This should call a function on WebContext that matches the suffix of the API function call and the logic should be in WebContext. > Source/WebKit2/UIProcess/API/C/WKContext.h:116 > +WK_EXPORT void WKContextLaunchInjectedBundle(WKContextRef context); This isn't a good name for this. How about WKContextWarmInitialProcess(...). I also think this should go in WKContextPrivate.h
Stephanie Lewis
Comment 3 2011-06-10 19:17:10 PDT
Stephanie Lewis
Comment 4 2011-06-11 13:32:58 PDT
Stephanie Lewis
Comment 5 2011-06-11 13:35:19 PDT
Note You need to log in before you can comment on or make changes to this bug.