Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(675)

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/attach-inlines-2.html

Issue 1550513003: Skip dirtying lines when attaching children prior to attaching oneself (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skip dirtying lines when attaching children prior to attaching oneself Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <div>
3 <span id="span"></span>
4 </div>
5 <script src="../resources/runner.js"></script>
6 <script>
7 var span = document.getElementById("span");
8
9 function test() {
10 PerfTestRunner.forceLayout();
11 for (var i = 0; i < 10; ++i)
12 span.appendChild(document.createElement("span")).textContent = " span";
13 PerfTestRunner.forceLayout();
14 span.innerHTML = '';
15 }
16
17 PerfTestRunner.measureRunsPerSecond({
18 description: "Measures performance of attaching a large number of inline s to an attached inline.",
19 run: test
20 });
21 </script>
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698