Calculate load performance of a webpage, for any page you visit.
No libraries needed - this uses performance timings that are builtin to modern JS in the browser.
Based on Navigation Timing API doc.
- In your browser, open the Dev Tools or right-click and Inspect a page.
- Copy the JS below.
- Paste it into the JS console.
Your output will be something like:
{
"pageLoadTime": 2.868,
"connectTime": 0.634,
"renderTime": 1.834
}