<div dir="ltr">2016-09-21 13:54 GMT+02:00 Carlos Garcia Campos <span dir="ltr"><<a href="mailto:cgarcia@igalia.com" target="_blank">cgarcia@igalia.com</a>></span>:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">El mié, 21-09-2016 a las 12:05 +0200, Jérémy Lal escribió:<br>
> I noticed version 2.14 is significantly slower to load several web<br>
> views one after another.<br>
><br>
> By load time i mean the time between a call to<br>
> `webkit_web_view_load_uri()` and the first<br>
> WEBKIT_LOAD_STARTED change event.<br>
><br>
> In version 2.12 it takes half a second for the first load and less<br>
> than 100ms<br>
> when loading more views.<br>
> in version 2.14 it always takes the same time.<br>
<br>
</span>So, you mean it takes more time the first load on every web view,<br>
right? subsequents loads in the same web view are not slow, right?<br>
<br>
If that's the case, yes, it's somehow expected, there's more work to do<br>
know when setting up web views, the web process has to create the<br>
compositing thread and wait for it to start rendering.<br></blockquote><div><br></div><div>Yes it is (much) faster to load again an url on an already "loaded" web view.</div><div>Still, half a second seems to be an eternity.</div><div><br></div><div>I'm using webkitgtk quite a lot for server-side DOM "prerendering", a bit like</div><div>what is chromium's headless branch for, and i wonder if it's something</div><div>that is going to happen in webkitgtk as well (i.e. the ability to just disable</div><div>any kind of graphic computations, let alone the ability to not use gtk).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> (I'm not sure it's related but for example epiphany 3.22 feels much<br>
> slower to open tabs).<br>
><br>
> Reproductible on several machines with debian/sid, and different<br>
> networks.<br>
<br>
</span>I don't think it has to do with networks. I assume you are trying on<br>
X11?<br></blockquote><div><br></div><div>X11, Xvfb, and if i remember well on Wayland i had a similar result,</div><div>but i'll check again and report if it's not.</div><div><br></div><div>Jérémy</div></div></div></div>