/Performance-Timing

A simple JavaScript performance timing console debugger for quickly checking page load speed (using the Navigation Timing API).

Primary LanguageJavaScriptMIT LicenseMIT

Performance-Timing

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.