That is a very interesting question!
You need to find a way to measure the time it takes for the user to download a given file (its important that you measure the download, not the upload speed of the user, else you misjudge DSL connections completely).
But frankly, I don't know yet how I would do that!