chromium/third_party/blink/perf_tests/bindings/get-element-by-id.html

<!DOCTYPE html>
<html>
<body>
<div id="foo"></div>
<script src="../resources/runner.js"></script>
<script>
PerfTestRunner.measureRunsPerSecond({
    description: "This benchmark covers 'getElementById' in Dromaeo/dom-query.html, and other DOM methods that return a Node object.",
    run: function() {
        for (var i = 0; i < 100000; i++)
            document.getElementById("foo");
}});
</script>
</body>
</html>