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

Side by Side Diff: third_party/WebKit/PerformanceTests/Layout/layers_overlap_3d.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 <title>Performance tester for non-overlaping 3D layers</title> 4 <title>Performance tester for non-overlaping 3D layers</title>
5 <style> 5 <style>
6 .container { 6 .container {
7 width: 20px; 7 width: 20px;
8 height: 20px; 8 height: 20px;
9 border: 1px solid #AAA; 9 border: 1px solid #AAA;
10 margin: 0 auto 5px; 10 margin: 0 auto 5px;
(...skipping 18 matching lines...) Expand all
29 var container = document.createElement("div"); 29 var container = document.createElement("div");
30 for(i = 0; i < count; ++i) { 30 for(i = 0; i < count; ++i) {
31 var outer = document.createElement('div'); 31 var outer = document.createElement('div');
32 outer.className = 'container'; 32 outer.className = 'container';
33 var inner = document.createElement('div'); 33 var inner = document.createElement('div');
34 inner.className = 'box'; 34 inner.className = 'box';
35 outer.appendChild(inner); 35 outer.appendChild(inner);
36 container.appendChild(outer); 36 container.appendChild(outer);
37 } 37 }
38 document.body.appendChild(container); 38 document.body.appendChild(container);
39 PerfTestRunner.forceLayoutOrFullFrame(); 39 PerfTestRunner.forceLayout();
40 container.remove(); 40 container.remove();
41 } 41 }
42 } 42 }
43 PerfTestRunner.measureTime({ 43 PerfTestRunner.measureTime({
44 description: "Measures performance of non-overlapping 3D layers. ", 44 description: "Measures performance of non-overlapping 3D layers. ",
45 run: createTestFunction(5000) 45 run: createTestFunction(5000)
46 }); 46 });
47 </script> 47 </script>
48 </body> 48 </body>
49 </html> 49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698