2016-06-03 11:36 GMT+02:00 Jérémy Lal <kapo...@melix.org>: > Hi, > > i always wondered why loading bytes into an already instantiated webview > took so much time (~600ms) between the webkit_web_view_load_bytes() call > and the first > "change" event. > > Today i noticed that doing it twice in a row (< one second) reduced that > time for > the second call from ~600ms to ~100ms. > > I straced it and got the small files attached. > There is a "futex connection timed out" that would explain quite nicely > the huge > delay if the configured time out was 500ms. >
That does explain the delay, as reported by strace -T: futex(0x239da34, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 11, {1464963229, 810966582}, ffffffff) = -1 ETIMEDOUT (Connection timed out) <0.500092>
_______________________________________________ webkit-gtk mailing list webkit-gtk@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-gtk