{"ScriptPreparationCode":"/*your preparation JavaScript code goes here\r\nTo execute async code during the script preparation, wrap it as function globalMeasureThatScriptPrepareFunction, example:*/\r\nasync function globalMeasureThatScriptPrepareFunction() {\r\n // This function is optional, feel free to remove it.\r\n // await someThing();\r\n}","TestCases":[{"Name":"AppendChild","Code":" const aboutDiv = document.createDocumentFragment();\r\nconst newElement = document.createElement(\u0022div\u0022);\r\nnewElement.id = \u0022testing\u0022\r\nfor (i = 0; i \u003C 1000; i\u002B\u002B) {\r\n const newElementPart = document.createElement(\u0022div\u0022);\r\n newElementPart.classList.add(\u0022testClass\u0022);\r\n newElement.appendChild(newElementPart);\r\n}\r\naboutDiv.appendChild(newElement);\r\ndocument.getElementById(\u0022test\u0022).appendChild(aboutDiv);","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}]}