Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/runner.js"></script> | |
| 3 <style> | |
| 4 #target div { display:table; } | |
| 5 </style> | |
| 6 <pre id="log"></pre> | |
| 7 <div id="target" style="display:none; columns:3; column-fill:auto; width:40em; h eight:41.5em; line-height:2em;"> | |
|
rune
2016/10/19 23:03:00
41.5em seems arbitrary, or is it picked to fit the
mstensho (USE GERRIT)
2016/10/20 09:43:02
Pretty arbitrary, although it's kind of nice that
| |
| 8 <div> | |
| 9 content content content | |
| 10 <div> | |
| 11 content content content | |
| 12 <div> | |
| 13 content content content | |
| 14 <div> | |
| 15 content content content | |
| 16 <div> | |
| 17 content content content | |
| 18 <div> | |
| 19 content content content | |
| 20 <div> | |
| 21 content content content | |
| 22 <div> | |
| 23 content content content | |
| 24 <div> | |
| 25 content content content | |
| 26 <div> | |
| 27 content content content | |
| 28 <div> | |
| 29 content content content | |
| 30 <div> | |
| 31 content content content | |
| 32 <div> | |
| 33 content content content | |
| 34 </div> | |
| 35 </div> | |
| 36 </div> | |
| 37 </div> | |
| 38 </div> | |
| 39 </div> | |
| 40 </div> | |
| 41 </div> | |
| 42 </div> | |
| 43 </div> | |
| 44 </div> | |
| 45 </div> | |
| 46 </div> | |
| 47 </div> | |
| 48 <script> | |
| 49 var target = document.getElementById("target"); | |
| 50 var style = target.style; | |
| 51 | |
| 52 function test() { | |
| 53 style.display = "block"; | |
| 54 PerfTestRunner.forceLayout(); | |
| 55 style.display = "none"; | |
| 56 PerfTestRunner.forceLayout(); | |
| 57 } | |
| 58 | |
| 59 PerfTestRunner.measureRunsPerSecond({ | |
| 60 description: "Measures performance of multicol layout in deeply nested t ables.", | |
|
rune
2016/10/19 23:03:00
Is the time spent in layout tree building a lot sm
mstensho (USE GERRIT)
2016/10/20 09:43:02
Tree building should be unaffected by my fix.
rune
2016/10/20 09:58:22
My point was if the test really measures layout tr
| |
| 61 run: test | |
| 62 }); | |
| 63 </script> | |
| OLD | NEW |