ForeverConfused
ForeverConfused

Reputation: 1777

How do I track site loading and tag latency over time using chrome on the server?

With an increasing mobile user base I would like to be able to gauge a baseline for site performance. Typically I can do this using chrome dev tools, checking when DOMContentLoaded finishes, and checking all my javascript tags to make sure they're in acceptable threshholds. How would I go about automating this so I can create performance dashboards?

Maybe phantomjs, selenium can do this? What headless chrome implementation could I use to achieve this.

Upvotes: 0

Views: 93

Answers (1)

Kayce Basques
Kayce Basques

Reputation: 25957

You can use Lighthouse to capture a variety of performance metrics.

For real user metrics, you can instrument your app however you see fit with the User Timing API.

Upvotes: 1

Related Questions