hi,
Iam analyzing the UI response issues on the webkit linux/gtk port on arm
embedded platform. One observation is that the  webcore timer driven
callbacks (e.g. layout, network, tokenizer etc) can block for unbounded
time. The other is that TimerBase::fireTimers fires all pending timers at
once which could mean the UI can be blocked furthur if there are multiple
timer events pending. This looks like an issue on platforms that run
GUI/webcore logic in same threads like gtk.

one of the suggested ways to improve this is to peridodically allow the ui
to run in these callbacks (though that may cause some reentrancy issues).

e.g. TimerBase::fireTimers(..) {for each iteration{ fireTimer;
g_main_context_iteration(..);}}

Appreciate any inputs.

thanks,
Zaheer
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to