Jump to content

Calculating Internet Connection Speed


cmgmyr

Recommended Posts

I would like to calculate a viewer's internet connection speed when coming to a site. How do I do this? I've done a bunch of searches and came up with a few scripts that weren't that accurate when I tried them. Any ideas?

 

Thanks

Link to comment
Share on other sites

Java and Flash are the two ways that most people use and usually takes a bit to do. I do not think this is really possible with out.

 

You can see working examples at www.dslreports.com/speedtest other than that without decent size files with multiple tests you cannot truly find out their speed.

Link to comment
Share on other sites

Well the problem of course is that getting the browser to download a 1MB file without the user knowing and keeping them on the same page without them moving is pretty tricky. This isn't really a technical problem as much as simply a problem of convenience. If they know they are checking their connection speed you can simply push out a 1MB file in known size chunks and record the time taken but doing it in the background will be problematic especially on slower connections or where visitors keep moving. (On the technical side this could be done by putting an <img> tag into a page who's src was actually a PHP page which pushed out 1MB (or some large enough size) of data and logged the result)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.