[webkit-gtk] webkit_web_view_load_uri takes time all right, but a little too much ?

Jérémy Lal kapouer at melix.org
Fri Apr 24 00:20:45 PDT 2015


Hi,

in webkit2gtk 2.6 to 2.8 on linux (i did not check other versions),
webkit_web_view_load_* methods seem to be spending more time
than i expect before reaching WEBKIT_LOAD_COMMITTED signal.
Hundreds of milliseconds when loading a local file or an html string
of a locally hosted "regular" website - i'm not talking of a special corner
case.

At first i thought this was to be expected, but seeing that delay
varying between runs (it can be 200ms or 50ms for the same file),
i'm starting to wonder if that delay could be avoided.
I tried to look at a trace, it seems a lot of files are loaded from
fontconfig,
but apart from that i have no clue.
Also note that i have a special interest with loading webpages *offscreen*,
so for example disabling fontconfig is an option (but i don't know how to
do that).
I'm using webkitgtk to implement an isomorphic framework with pages being
hosted on server.

Any help would be much appreciated.

Jérémy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-gtk/attachments/20150424/cd9ecd57/attachment.html>


More information about the webkit-gtk mailing list