blackdotsh / curl-speedtest Goto Github PK
View Code? Open in Web Editor NEWA simple speed test script that shows download and upload speed, CPU speed, and I/O write speed.
Home Page: http://dl.getipaddr.net
A simple speed test script that shows download and upload speed, CPU speed, and I/O write speed.
Home Page: http://dl.getipaddr.net
For platforms such as OpenWRT routers that do not have bash by default. This only means removing arrays essentially.
precheck which sites have best ping, and proceed with testing on those
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 dd
and pipe that output into a FIFO and read from that with curl.
Also, these devices don't do well under frequent writes, the storage is not meant to be constantly rewritten, it has finite life.
Is bash
necessary, or can we pipe to sh
instead?
The great majority of servers in this script are offline. No suprise as this hasn't been updated in 6 years.
Need updating due to speedtest servers being changed around
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 test.
To disable things like disk checks and CPU checks if you don't want those
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 for option to speedtest either some 800mb file or some 2gb file, like the .iso for ubuntu.
Letting the user to choose something that fits his/her expected bandwidth a bit more accurate.
And let the script crawl either ALL mirrors, and rank the fastest countries with their speed output, or region wise. Like only Asia, US, Europe and so forth.
Some mirrors gives bad result when others can give good result, despite they are from the same country.
I think it comes to handy to know how good your speed is within your own country and to the rest of the world. How is the peering doing.
Shame i can't code, otherwise this would have been a project i would have done.
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 would help with this.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.