summaryrefslogtreecommitdiffstats
path: root/PerformanceTests/Parser/tiny-innerHTML.html
diff options
context:
space:
mode:
Diffstat (limited to 'PerformanceTests/Parser/tiny-innerHTML.html')
-rw-r--r--PerformanceTests/Parser/tiny-innerHTML.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/PerformanceTests/Parser/tiny-innerHTML.html b/PerformanceTests/Parser/tiny-innerHTML.html
new file mode 100644
index 0000000..b357cf1
--- /dev/null
+++ b/PerformanceTests/Parser/tiny-innerHTML.html
@@ -0,0 +1,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>