I do a test for you about that in JS PERF:
http://jsperf.com/dom-tree-clone-vs-creating-each-element

2010/12/21 Acaz Souza Pereira <[email protected]>

> Try using http://jsperf.com/ to do some tests
>
> 2010/12/21 Andraž Kos <[email protected]>
>
> Is in your opinion better to create a DOM tree only once, clone it and then
>> traverse the clone only to update data, or to create everything by hand over
>> and over again?
>>
>> Example jsFiddle:
>> http://jsfiddle.net/77Zxy/
>>
>> --
>> To view archived discussions from the original JSMentors Mailman list:
>> http://www.mail-archive.com/[email protected]/
>>
>> To search via a non-Google archive, visit here:
>> http://www.mail-archive.com/[email protected]/
>>
>> To unsubscribe from this group, send email to
>> [email protected]<jsmentors%[email protected]>
>>
>
>

-- 
To view archived discussions from the original JSMentors Mailman list: 
http://www.mail-archive.com/[email protected]/

To search via a non-Google archive, visit here: 
http://www.mail-archive.com/[email protected]/

To unsubscribe from this group, send email to
[email protected]

Reply via email to