WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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-
Details
Formatted Diff
Diff
patch
(2.84 KB, patch)
2011-06-10 19:17 PDT
,
Stephanie Lewis
sam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Stephanie Lewis
Comment 1
2011-06-10 14:49:58 PDT
Created
attachment 96793
[details]
patch
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
Created
attachment 96836
[details]
patch
Stephanie Lewis
Comment 4
2011-06-11 13:32:58 PDT
committed
http://trac.webkit.org/projects/webkit/changeset/88607
Stephanie Lewis
Comment 5
2011-06-11 13:35:19 PDT
<
rdar://problem/9593960
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug