curl-speedtest
curl-speedtest copied to clipboard
A simple speed test script that shows download and upload speed, CPU speed, and I/O write speed.
The great majority of servers in this script are offline. No suprise as this hasn't been updated in 6 years.
I think this is a great idea, but it falls short in my opinon. What would be better if you used some already existing sites like ubuntu's mirror and code...
Is it possible to make this web-based search? instead of downloading the file and then testing it? For example.. opening a website link through the browser and running the speed...
Need updating due to speedtest servers being changed around
- POSIX compat for non-bash shells - flag support to enable/disable certain checks - precheck sites before attempting - custom timeout() for devices that don't have timeout - do not...
Low resource IoT devices don't have the storage to keep a 100mb file. We can write those to /dev/null. For upload, instead of uploading 100mb from disk, we can launch...
To disable things like disk checks and CPU checks if you don't want those
If the script errs out on a site (like the 3rd one), it will always perform checks on the first couple and never reach the last ones, randomizing the order...
precheck which sites have best ping, and proceed with testing on those
For platforms such as OpenWRT routers that do not have bash by default. This only means removing arrays essentially.