On 05/28/2013 12:26 PM, Boris Zbarsky wrote:
On 5/27/13 2:25 PM, Josh Matthews wrote:
The following script (test_hammer_layout.html) can now run in Servo
This yields 1239493.
That's nanoseconds per iteration. As in, 1.2ms (!). This is not really
ok. ;)
Is this with builds that do the "eagerly kick off layout from any DOM
change" bit? I really do think that we should not be doing that: people
batch up lots of DOM changes together, so doing layout from every change
is almost certainly not useful...
-Boris
I agree completely. We'll need to spend some time figuring out what kind
of batching behaviour we want, but the test right now has been useful to
expose what seems to be an architectural problem, possibly due to the
current scheduler. My investigation in
https://github.com/mozilla/servo/issues/487 digs into this, and I'm keen
to try the same test on top of Brian's work now.
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo