Here is a JavaScript snippet that you can either copy and paste into your main JS file, or just put it in <script>
tags on the page you want to test. It uses the Navigation Timing API to get the timestamp of each process, then converts the times to seconds by subtracting appropriate ones from the others.
chrisblakley / performance-timing Goto Github PK
View Code? Open in Web Editor NEWA simple JavaScript performance timing console debugger for quickly checking page load speed (using the Navigation Timing API).
Home Page: http://gearside.com/performance-timing-navigation-timing-api/
License: MIT License