5 <script src="../resources/runner.js"></script>
7 var div = document.getElementById("foo");
9 PerfTestRunner.runPerSecond({
10 description: "This benchmark covers 'getAttribute' in Dromaeo/dom-attr.html, and other DOM methods that return a String.",
13 for (var i = 0; i < 100000; i++)
14 localDiv.getAttribute("id");