Live timing

Component ID

2454331

Component name

Live timing

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

What?

Saves live front-end timing numbers back into the db with uncacheable AJAX via custom entry script with super simple bootstrap for super speeds.

What??

Any user visits the site (any page, any role etc), when the page is definitely done loading a JS sends 2 numbers back to live_timing.php: domready time and onload time. Both come from performance.timing, so only decent browsers are supported.

How?

A custom table with a few columns. A custom entry script (not index.php, not the menu router) for extra speed. No bootstrap, no users, just 1 query. Very simple validation.

Why?

During dev, you keep adding modules. This table will keep record of how fast it was 5 weeks ago and how slow it is now. It will gather so much data, even averages are useful.

On test/acc/staging you can filter out your (office's) IP address to time the client.

On production you might use it to find the slowest pages.