{"ScriptPreparationCode":null,"TestCases":[{"Name":"append","Code":"var newElement = document.createElement(\u0022div\u0022);\r\nnewElement.id = \u0022testing\u0022\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n var newElementPart = document.createElement(\u0022div\u0022);\r\n newElementPart.classList.add(\u0022testClass\u0022);\r\n newElement.append(newElementPart);\r\n}\r\ndocument.getElementById(\u0022test\u0022).append(newElement);","IsDeferred":false},{"Name":"appendChild","Code":"var newElement = document.createElement(\u0022div\u0022);\r\nnewElement.id = \u0022testing\u0022\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n var newElementPart = document.createElement(\u0022div\u0022);\r\n newElementPart.classList.add(\u0022testClass\u0022);\r\n newElement.appendChild(newElementPart);\r\n}\r\ndocument.getElementById(\u0022test\u0022).appendChild(newElement);","IsDeferred":false},{"Name":"insertAdjacentHTML","Code":"html = \u0022\u003Cdiv id=\u0027testing\u0027\u003E\u0022\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n html \u002B= \u0022\u003Cdiv class=\u0027testClass\u0027\u003E\u003C/div\u003E\u0022;\r\n}\r\nhtml \u002B= \u0022\u003C/div\u003E\u0022;\r\ndocument.getElementById(\u0022test\u0022).insertAdjacentHTML(\u0022beforeend\u0022, html);","IsDeferred":false},{"Name":"DOMParser","Code":"html = \u0022\u003Cdiv id=\u0027testing\u0027\u003E\u0022\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n html \u002B= \u0022\u003Cdiv class=\u0027testClass\u0027\u003E\u003C/div\u003E\u0022;\r\n}\r\nhtml \u002B= \u0022\u003C/div\u003E\u0022;\r\ndocument.getElementById(\u0022test\u0022).append((new DOMParser()).parseFromString(html, \u0022text/html\u0022).body.childNodes);","IsDeferred":false},{"Name":"createContextualFragment","Code":"html = \u0022\u003Cdiv id=\u0027testing\u0027\u003E\u0022\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n html \u002B= \u0022\u003Cdiv class=\u0027testClass\u0027\u003E\u003C/div\u003E\u0022;\r\n}\r\nhtml \u002B= \u0022\u003C/div\u003E\u0022;\r\ndocument.getElementById(\u0022test\u0022).append(document.createRange().createContextualFragment(html));","IsDeferred":false}]}