Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / PerformanceTests / Bindings / gc-mini-tree.html
1 <!DOCTYPE html>
2 <body>
3 <script src="../resources/runner.js"></script>
4 <script>
5 PerfTestRunner.measureTime({
6     description: "Measures performance of creating a half million divs that contain spans without retaining references, then running the garbage collector.",
7     run: function() {
8       (function() {
9           for (var i = 0; i < 500000; i++)
10               document.createElement("div").appendChild(document.createElement("span"));
11       })();
12       PerfTestRunner.gc();
13   }
14 });
15 </script>
16 </body>