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