On Thu, Jan 10, 2013 at 8:37 AM, Maciej Stachowiak <m...@apple.com> wrote:
> The reason I ask is that this sounds like a significant increase in
> complexity, so we should be very confident that there is a real and major
> benefit. One thing I wonder about is how common it is to have enough of the
> page processed that the user could interact with it in principle, yet still
> have large parsing chunks remaining which would prevent that interaction
> from being smooth. Another thing I wonder about is whether yielding to the
> event loop more aggressively could achieve a similar benefit at a much
> lower complexity cost.

I don't want to let this point of Maciej's slip away: on mobile we may have
fewer cores than desktop, and we're paying a pretty high complexity burden
for multiple threads already; some of Nat's awesome recent work in Chromium
is too multithreaded for my comfort. I'd back-of-enveloped yielding during
page layout and guessed it wasn't worthwhile, but do we know that yielding
during parsing isn't?

webkit-dev mailing list

Reply via email to