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