| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <body> | 2 <body> |
| 3 <script src="../resources/runner.js"></script> | 3 <script src="../resources/runner.js"></script> |
| 4 <script> | 4 <script> |
| 5 // Running from the onload callback just makes the UI nicer as it shows the logs
before starting the test. | 5 // Running from the onload callback just makes the UI nicer as it shows the logs
before starting the test. |
| 6 window.onload = function() { | 6 window.onload = function() { |
| 7 PerfTestRunner.measurePageLoadTime({path: "resources/html5.html", | 7 PerfTestRunner.measurePageLoadTime({ |
| 8 chunkSize: 500000 }); // 6.09mb / 500k = approx 13 chunks (thus 13 forced la
youts/style resolves). | 8 description: "Measures performance of a full HTML5 document load.", |
| 9 } | 9 path: "resources/html5.html", |
| 10 // 6.09mb / 500k = approx 13 chunks (thus 13 forced layouts/style resolv
es). |
| 11 chunkSize: 500000 |
| 12 }); |
| 13 }; |
| 10 | 14 |
| 11 </script> | 15 </script> |
| 12 </body> | 16 </body> |
| OLD | NEW |