{"ScriptPreparationCode":null,"TestCases":[{"Name":"createElement","Code":"const list = [];\r\nlet n = 0;\r\n\r\nconst div = document.createElement(\u0027div\u0027);\r\nconst div2 = document.createElement(\u0027div\u0027);\r\nconst div3 = document.createElement(\u0027div\u0027);\r\nconst p = document.createElement(\u0027p\u0027);\r\ndiv2.classList.add(\u0027two\u0027);\r\ndiv3.classList.add(\u0027three\u0027);\r\np.classList.add(\u0027font-bold\u0027);\r\np.textContent = \u0027Hello!\u0027;\r\ndiv.appendChild(div2);\r\ndiv2.appendChild(div3);\r\ndiv3.appendChild(p);\r\nconsole.log(div);\r\nwhile(true) {\r\n n\u002B\u002B;\r\n \tlist.push(div);\r\n if(n===100000) \r\n break;\r\n}","IsDeferred":false},{"Name":"cloneNode (deep)","Code":"const list = [];\r\nlet n = 0;\r\nconst div = document.createElement(\u0027div\u0027);\r\nconst div2 = document.createElement(\u0027div\u0027);\r\nconst div3 = document.createElement(\u0027div\u0027);\r\nconst p = document.createElement(\u0027p\u0027);\r\ndiv2.classList.add(\u0027two\u0027);\r\ndiv3.classList.add(\u0027three\u0027);\r\np.classList.add(\u0027font-bold\u0027);\r\np.textContent = \u0027Hello!\u0027;\r\ndiv.appendChild(div2);\r\ndiv2.appendChild(div3);\r\ndiv3.appendChild(p);\r\nwhile(true) {\r\n n\u002B\u002B;\r\n \tlist.push(div.cloneNode(true));\r\n if(n===100000) \r\n break;\r\n}","IsDeferred":false},{"Name":"innerHTML","Code":"const list = [];\r\nlet n = 0;\r\nconst div = document.createElement(\u0027div\u0027);\r\ndiv.innerHTML = \u0027\u003Cdiv\u003E\u003Cdiv class=\u0022two3\u0022\u003E\u003Cdiv class=\u0022three\u0022\u003E\u003Cp class=\u0022font-bold\u0022\u003EHello!\u003C/p\u003E\u003C/div\u003E\u003C/div\u003E\u003C/div\u003E\u0027\r\nconsole.log(div);\r\nwhile(true) {\r\n n\u002B\u002B;\r\n \tlist.push(div);\r\n if(n===100000) \r\n break;\r\n}","IsDeferred":false}]}