4 <title>Benchmark - Stress Blink GC
</title>
7 <script src=
"../resources/runner.js"></script>
8 <script src=
"resources/measure-gc.js"></script>
10 var root
= document
.createElement('div');
12 function makeTrees() {
14 var numberOfTrees
= 50;
16 var div
= document
.createElement('div');
18 for (var i
= 0; i
< depth
; ++i
) {
19 var childDiv
= document
.createElement('div');
20 current
.appendChild(childDiv
);
24 for (var i
= 0; i
< numberOfTrees
; ++i
)
25 root
.appendChild(div
.cloneNode(true));
28 window
.onload = function() {
30 PerfTestRunner
.measureBlinkGCTime({ description
: "Stress Blink GC by GCing a large deep DOM" });