3 <script src="../resources/runner.js"></script>
5 PerfTestRunner.measureRunsPerSecond({
6 description: "Measures performance of creating an element and setting a tiny amount of HTML.",
8 var testDiv = document.createElement("div");
9 testDiv.style.display = "none";
10 document.body.appendChild(testDiv);
11 for (var x = 0; x < 100000; x++) {
12 testDiv.innerHTML = "This is a tiny HTML document";
14 document.body.removeChild(testDiv);