1 <!DOCTYPE html> 2 <html> 3 <body> 4 <script src="../resources/runner.js"></script> 5 <script> 6 PerfTestRunner.measureRunsPerSecond({ 7 description: "This benchmark covers 'createElement', 'createTextNode' and 'cloneNode' in Dromaeo/dom-modify.html, and other DOM methods that return a new Node object.", 8 run: function() { 9 for (var i = 0; i < 5000; i++) 10 document.createElement("div"); 11 }}); 12 </script> 13 </body> 14 </html> 15