{"ScriptPreparationCode":"const elementCount = 100000;\r\nconst body = document.getElementById(\u0027testBody\u0027);\r\nbody.setAttribute(\u0027data-items-count\u0027, elementCount);\r\n// Create a Bunch of DOM elements.\r\n// Keep a refrence to all of them to test the other loops.\r\nwindow.entities = [];\r\nfor (let i=0; i \u003C elementCount; i\u002B\u002B) {\r\n let elm = document.createElement(\u0027div\u0027);\r\n elm.classList.add(\u0060test\u0060);\r\n elm.setAttribute(\u0060test\u0060, i%4);\r\n // Add to body for query selector tests.\r\n body.appendChild(elm);\r\n // Add to array for loop tests.\r\n window.entities.push(elm);\r\n}","TestCases":[{"Name":"querySelectorAll","Code":"const itemsCount = window.testBody.querySelectorAll(\u0027.test\u0027).length;","IsDeferred":false},{"Name":"getAttribute","Code":"const itemsCount = window.testBody.getAttribute(\u0027data-items-count\u0027);","IsDeferred":false},{"Name":"dataset","Code":"const itemsCount = window.testBody.dataset.itemsCount;","IsDeferred":false}]}