1 <!DOCTYPE html> 2 <body> 3 <script src="../resources/runner.js"></script> 4 <script> 5 // Running from the onload callback just makes the UI nicer as it shows the logs before starting the test. 6 window.onload = function() { 7 PerfTestRunner.measurePageLoadTime({path: "resources/html5.html", 8 chunkSize: 500000 }); // 6.09mb / 500k = approx 13 chunks (thus 13 forced layouts/style resolves). 9 } 10 11 </script> 12 </body> 13