The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
I'm looking for a method to measure how long it takes to download a file, and similarly for uploading. Essentially I need an accurate automatic measurement of time taken on a download/upload.
aside from doing a sample of the average download rate you get, then dividing the file size by that, you really can't. The problem with internet speeds is that even if you get an advertised 10Mbit download, it's never actually 10Mbit, and it varies, even during the same download, based on about 900 different factors, and there are the same variables on the host you're downloading from. Your host may only be able to provide you 5Mbit speeds, where another one will give you 4Mbit, and you may be sharing with other people downloading from that host, etc.
Basically, other than taking averages over time, measuring accurate download times is pretty difficult.
aside from doing a sample of the average download rate you get, then dividing the file size by that, you really can't. The problem with internet speeds is that even if you get an advertised 10Mbit download, it's never actually 10Mbit, and it varies, even during the same download, based on about 900 different factors, and there are the same variables on the host you're downloading from. Your host may only be able to provide you 5Mbit speeds, where another one will give you 4Mbit, and you may be sharing with other people downloading from that host, etc.
Basically, other than taking averages over time, measuring accurate download times is pretty difficult.
pretty much this.
But if you want to get some averages at any point in time I recommend
aside from doing a sample of the average download rate you get, then dividing the file size by that, you really can't. The problem with internet speeds is that even if you get an advertised 10Mbit download, it's never actually 10Mbit, and it varies, even during the same download, based on about 900 different factors, and there are the same variables on the host you're downloading from. Your host may only be able to provide you 5Mbit speeds, where another one will give you 4Mbit, and you may be sharing with other people downloading from that host, etc.
Basically, other than taking averages over time, measuring accurate download times is pretty difficult.
pretty much this.
But if you want to get some averages at any point in time I recommend
even speedtest is not good for averages though. See, with my ISP, they have what's called "turbo boost" which essentially doubles my download speeds for the first 20 seconds of the download, so instead of 7.5Mbit I get 15Mbit-20Mbit. Speedtest, since it only tests a small file, shows my average download speed as something like 18Mbit down, when in reality, my speed is 7.5
Posts
Basically, other than taking averages over time, measuring accurate download times is pretty difficult.
pretty much this.
But if you want to get some averages at any point in time I recommend
www.speedtest.net
Uh-oh I accidentally deleted my signature. Uh-oh!!
even speedtest is not good for averages though. See, with my ISP, they have what's called "turbo boost" which essentially doubles my download speeds for the first 20 seconds of the download, so instead of 7.5Mbit I get 15Mbit-20Mbit. Speedtest, since it only tests a small file, shows my average download speed as something like 18Mbit down, when in reality, my speed is 7.5
[10:20:00 AM] File xxxyyyy.zzz started
[10:22:03 AM] File xxyyyyy.zzz finished
So for keeping track of the actual time it takes to download a file, it'll get the job done.
time ls -al
real 0m0.021s
user 0m0.001s
sys 0m0.003s
time wget <files>
<etc>