Merge "Fix webgl crash issue." into tizen_2.2
[framework/web/webkit-efl.git] / PerformanceTests / Bindings / id-setter.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <div id="foo"></div>
5 <script src="../resources/runner.js"></script>
6 <script>
7 var div = document.getElementById("foo");
8
9 PerfTestRunner.runPerSecond({
10     description: "This benchmark covers 'element.property = value' in Dromaeo/dom-attr.html, and other DOM attributes that sets a String.",
11     run: function() {
12         var localDiv = div;
13         for (var i = 0; i < 50000; i++)
14             localDiv.id = "foo";
15 }});
16 </script>
17 </body>
18 </html>