{"ScriptPreparationCode":null,"TestCases":[{"Name":"appendChild to fragment, then append after getElementById (with cloneNode)","Code":"let fragment = document.createDocumentFragment();\r\nlet elem = document.createElement(\u0022div\u0022);\r\n\r\nfor (let i = 0; i \u003C 100; i\u002B\u002B) {\r\n fragment.appendChild(elem);\r\n elem = elem.cloneNode();\r\n}\r\n\r\nlet container = document.getElementById(\u0022container\u0022);\r\ncontainer.appendChild(elem)","IsDeferred":false},{"Name":"appendChild to fragment, then append after createElement (with cloneNode)","Code":"let fragment = document.createDocumentFragment();\r\nlet elem = document.createElement(\u0022div\u0022);\r\n\r\nfor (let i = 0; i \u003C 100; i\u002B\u002B) {\r\n fragment.appendChild(elem);\r\n elem = elem.cloneNode();\r\n}\r\n\r\nlet container = document.createElement(\u0022section\u0022);\r\ncontainer.appendChild(elem)","IsDeferred":false}]}