Home | History | Annotate | Download | only in Parser
      1 <!DOCTYPE html>
      2 <html>
      3 <body>
      4 <script src="../resources/runner.js"></script>
      5 <script>
      6 
      7 PerfTestRunner.measureRunsPerSecond({
      8     description: "This benchmark tests adding/removing an iframe from the DOM",
      9     run: function() {
     10         var iframe = document.createElement("iframe");
     11         document.body.appendChild(iframe);
     12         document.body.removeChild(iframe);
     13     }});
     14 </script>
     15 </body>
     16 </html>
     17