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