[webkit-dev] Could someone explain a bit on document fragments?

Eric Seidel eric at webkit.org
Fri Aug 20 09:35:22 PDT 2010

Resig has a nice explanation:

or see the DOM spec.

DocumentFragments have little to do with parsing.

I'm actually writing a blog post about the DocumentParser system right
now.  Should be on webkit.org/blog next week.

We already have profiling information about total time spent parsing.
See the inspector timeline view.


On Fri, Aug 20, 2010 at 11:00 AM, Matt 'Murph' Finnicum
<mattfinn at gmail.com> wrote:
> I see, for a large page, that a document is created and then a number
> of fragments. Are these fragments all then merged into that document?
> Or are they merged into one another, forming a new document somehow?
> Where is that done?
> What would be a acceptable way to measure the total time spent
> parsing? Going from parser creation to parser finish doesn't work when
> there are many document fragments, each with it's own parser. Should I
> add up the time spent in all of the parsers?
> Thanks,
> --Murph
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list