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.
Created attachment 96793 [details] patch
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
Created attachment 96836 [details] patch
committed http://trac.webkit.org/projects/webkit/changeset/88607
<rdar://problem/9593960>