Home | History | Annotate | Download | only in Bindings
      1 <!DOCTYPE html>
      2 <html>
      3 <body>
      4 <script src="../resources/runner.js"></script>
      5 <script>
      6 PerfTestRunner.measureRunsPerSecond({
      7     description: "This benchmark covers DOM attributes that return small integers.",
      8     run: function() {
      9         var localBody = document.body;
     10         for (var i = 0; i < 100000; i++)
     11             localBody.scrollTop;
     12 }});
     13 </script>
     14 </body>
     15 </html>
     16