Re: Measuring DOM performance
Jonas Sicking <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Boris Zbarsky wrote: > On 10/23/09 8:50 PM, Jonas Sicking wrote: >> My main concern on the subject of "measureing DOM performance" is having >> tests that measure *only* the DOM. Many times you end up testing the >> performance of for example the layout engine as well. Any time you do >> modifications in a document that is rendered layout code has to kick in. > > I think we want tests like this too; possibly in addition to those we > want pure-DOM tests... > > It should be possible to minimize the layout part by working in > disconnected subtrees or data documents, right? True. I guess the answer is simply that we should be testing what people are doing. And note that modifying things in-displayed-document can be very different performance-wise than out-of-displayed-document. So if people do both, we should test both. / Jonas