blob: 5532e0d4fec60fd6359e4da05eb5985b6af4fd0a [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script src="../resources/runner.js"></script>
<script>
PerfTestRunner.measureRunsPerSecond({
description: "This benchmark covers DOM attributes that return integers.",
run: function() {
var localBody = document.body;
for (var i = 0; i < 100000; i++)
localBody.nodeType;
}});
</script>
</body>
</html>