Home | History | Annotate | Download | only in Bindings
      1 <!DOCTYPE html>
      2 <body>
      3 <script src="../resources/runner.js"></script>
      4 <script>
      5 PerfTestRunner.measureTime({run: function() {
      6     (function() {
      7         var root = document.createElement("div");
      8         for (var i = 0; i < 1000000; i++)
      9             root.appendChild(document.createElement("div"));
     10     })();
     11     PerfTestRunner.gc();
     12 }});
     13 </script>
     14 </body>
     15