link
{"ScriptPreparationCode":null,"TestCases":[{"Name":"createElement","Code":"var itemsContainer = document.getElementById(\u0027appendedItems\u0027);\r\n\r\nfor (i=0; i \u003C 10000; i\u002B\u002B) {\r\n var fragment = document.createDocumentFragment();\r\n\r\n var container = document.createElement(\u0027div\u0027);\r\n container.className = \u0027container\u0027;\r\n\r\n var div = document.createElement(\u0027div\u0027);\r\n var a = document.createElement(\u0027a\u0027);\r\n var aTextNode = document.createTextNode(\u0027link\u0027);\r\n a.href = \u0027#\u0027;\r\n a.appendChild(aTextNode);\r\n\r\n div.appendChild(a);\r\n container.appendChild(div);\r\n\r\n fragment.appendChild(container);\r\n itemsContainer.appendChild(fragment);\r\n}","IsDeferred":false},{"Name":"cloneNode","Code":"var itemsContainer = document.getElementById(\u0027appendedItems\u0027);\r\nvar container = document.querySelector(\u0027.container\u0027);\r\n\r\nfor (i=0; i \u003C 10000; i\u002B\u002B) {\r\n var fragment = document.createDocumentFragment();\r\n \r\n var cloned = container.cloneNode(true);\r\n var a = cloned.querySelector(\u0027a\u0027);\r\n a.href = \u0027##\u0027;\r\n a.textContent = \u0027newLink\u0027;\r\n \r\n fragment.appendChild(cloned);\r\n itemsContainer.appendChild(fragment);\r\n}","IsDeferred":false}]}