Simple throughput / latency test to measure user performance

I am writing web applications. Performance is obviously a key factor. While loading the database and page rendering time are the things that I manage, the internet connection of the users is not.

What I'm looking for is a way to indicate which connection the user has. Something along the traffic light lines in the corner of the website in which the user is displayed, what kind of connection they have on the site and, therefore, indicates what perceived performance they should expect. for example, Maybe the application just seems to be slow because everyone else in your company is viewing Facebook on a lunch break.

My initial thoughts are that this can be achieved with some javascript that runs every time the page loads.

Ideally, the code is very β€œdropable” and does not require major changes to the code or infrastructure for implementation.

+5
source share
1 answer

This is similar to what you could use. You can also request an AJAX request; how long does the round trip take? You may have to set some guidelines yourself.

+2
source

All Articles