| Index: third_party/WebKit/PerformanceTests/Layout/attach-inlines-2.html
|
| diff --git a/third_party/WebKit/PerformanceTests/Layout/attach-inlines-2.html b/third_party/WebKit/PerformanceTests/Layout/attach-inlines-2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..632fd0716c7884621f8644987d13ef9964d9888a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/PerformanceTests/Layout/attach-inlines-2.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| + <div>
|
| + <span id="span"></span>
|
| + </div>
|
| +<script src="../resources/runner.js"></script>
|
| +<script>
|
| + var span = document.getElementById("span");
|
| +
|
| + function test() {
|
| + PerfTestRunner.forceLayout();
|
| + for (var i = 0; i < 10; ++i)
|
| + span.appendChild(document.createElement("span")).textContent = "span";
|
| + PerfTestRunner.forceLayout();
|
| + span.innerHTML = '';
|
| + }
|
| +
|
| + PerfTestRunner.measureRunsPerSecond({
|
| + description: "Measures performance of attaching a large number of inlines to an attached inline.",
|
| + run: test
|
| + });
|
| +</script>
|
| +</html>
|
|
|