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

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/chapter-reflow.html

Issue 1557953002: Revert unfinished work of "full-frame-measurement" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PerfPaint
Patch Set: Created 4 years, 11 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <!-- 4 <!--
5 http://www.gutenberg.org/ebooks/41252 5 http://www.gutenberg.org/ebooks/41252
6 6
7 "This eBook is for the use of anyone anywhere at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under th e terms of the Project Gutenberg License included with this eBook or online at w ww.gutenberg.org." 7 "This eBook is for the use of anyone anywhere at no cost and with almost no restrictions whatsoever. You may copy it, give it away or re-use it under th e terms of the Project Gutenberg License included with this eBook or online at w ww.gutenberg.org."
8 --> 8 -->
9 <title>Chapter reflow performance test: English prose infinite</title> 9 <title>Chapter reflow performance test: English prose infinite</title>
10 <script src="../resources/runner.js"></script> 10 <script src="../resources/runner.js"></script>
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 64
65 <p><span>"Resist?" he replied, half pitying the feeble-mindedness which prompted such a question. "We shall simply spill them into the ocean."</span></p > 65 <p><span>"Resist?" he replied, half pitying the feeble-mindedness which prompted such a question. "We shall simply spill them into the ocean."</span></p >
66 </div> 66 </div>
67 <script> 67 <script>
68 var target = document.getElementById("target"); 68 var target = document.getElementById("target");
69 var style = target.style; 69 var style = target.style;
70 70
71 function test() { 71 function test() {
72 style.display = "block"; 72 style.display = "block";
73 style.width = "280px"; 73 style.width = "280px";
74 PerfTestRunner.forceLayoutOrFullFrame(); 74 PerfTestRunner.forceLayout();
75 style.width = "300px"; 75 style.width = "300px";
76 PerfTestRunner.forceLayoutOrFullFrame(); 76 PerfTestRunner.forceLayout();
77 style.width = "290px"; 77 style.width = "290px";
78 PerfTestRunner.forceLayoutOrFullFrame(); 78 PerfTestRunner.forceLayout();
79 style.display = "none"; 79 style.display = "none";
80 } 80 }
81 81
82 PerfTestRunner.measureRunsPerSecond({ 82 PerfTestRunner.measureRunsPerSecond({
83 description: "Measures performance of 3 layouts on a page containing English text.", 83 description: "Measures performance of 3 layouts on a page containing English text.",
84 run: test 84 run: test
85 }); 85 });
86 </script> 86 </script>
87 </body> 87 </body>
88 </html> 88 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698