summaryrefslogtreecommitdiffstats
path: root/PerformanceTests/Parser/tiny-innerHTML.html
blob: b357cf1a128aa37009dee124c35ebc6a83c81d7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html>
<body>
<pre id="log"></pre>
<script src="resources/runner.js"></script>
<script>
start(20, function() {
    var testDiv = document.createElement("div");
    testDiv.style.display = "none";
    document.body.appendChild(testDiv);
    for (var x = 0; x < 100000; x++) {
        testDiv.innerHTML = "This is a tiny HTML document";
    }
    document.body.removeChild(testDiv);
});
</script>
</body>