Home | History | Annotate | Download | only in Parser
      1 <!DOCTYPE html>
      2 <body>
      3 <script src="../resources/runner.js"></script>
      4 <script>
      5 PerfTestRunner.measureRunsPerSecond({run:function() {
      6     var testDiv = document.createElement("div");
      7     testDiv.style.display = "none";
      8     document.body.appendChild(testDiv);
      9     for (var x = 0; x < 100000; x++) {
     10         testDiv.innerHTML = "This is a tiny HTML document";
     11     }
     12     document.body.removeChild(testDiv);
     13 }});
     14 </script>
     15 </body>
     16