• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html>
2<html>
3<body>
4<script src="../resources/runner.js"></script>
5<script>
6var div = document.createElement("div");
7
8PerfTestRunner.measureRunsPerSecond({
9    description: "This benchmark covers undefined DOM attributes that return an empty String.",
10    run: function() {
11        var localDiv = div;
12        for (var i = 0; i < 100000; i++)
13            localDiv.id;
14}});
15</script>
16</body>
17</html>
18