On 3/3/14 9:07 PM, Boris Zbarsky wrote:
   document.documentElement.cloneNode(true): ~18ms
   document.cloneNode(true): ~8ms

Oh, and the difference between these two is that in the former clones of <img> elements try to do image loads, which takes about 70% of the cloning time, but in the latter we're in a data document, so the image load start attempts "only" take about 15% of the time.

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

Reply via email to