On Tuesday 2013-09-24 23:12 -0700, Patrick Walton wrote:
> On 9/23/13 11:57 AM, Boris Zbarsky wrote:
> >It's hard to say more here without seeing the actual testcase being
> >measured.
> 
> Here it is:
> 
> https://gist.github.com/pcwalton/6695691
> 
> I deliberately crafted it to avoid shaping and floats so that, to
> the greatest extent possible, it's testing the core block reflow
> algorithms only. (There is still some whitespace in it though.)

For what it's worth, I did a bunch of Gecko work in 2001 to improve
Gecko performance on a vaguely similar test.  See, e.g.,
https://github.com/mozilla/mozilla-central/commit/75d32bb57970a582a6f456fd01e9926d7ce6d565

However, I think that regressed in Gecko somewhat substantially in
late 2004 with roc's margin collapsing rewrite:
https://github.com/mozilla/mozilla-central/commit/fcfeb6506e691f17d7f83793d7ef4c9f28f8898a

So I think it's probably possible to do a good bit better than
current Gecko.  And I also think it might be worth seeing how Gecko
does on your test before/after the 2004 margin collapsing changes.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Attachment: signature.asc
Description: Digital signature

_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to