A simple internet speed testing cli/wasm framework
- Copy The main.wasm binary and wasm_exec.js to your local folder
- View the sample index.html to understand how to tie things together
- Features are implemented with promises... The promise resolver global variable has to be set and should be accessible from the global dom. Also names should not change, if not the wasm binary might be unable to pick it up
- Run GetServer first to return the list of possible servers (This value would be cached for 10 minutes)
- Then Run StartDownload Or StartUpload
- This is highly experimental and might not be suitable for production environments
- Cors would impact the process of picking up optimal serves, and might impact heavily on latency and accuracy of the test
The CLI Version is mostly stable, you can clone the repo and go run main.go run
in the cli folder.
Offical binary release has not be done yet, as this project is highly experimental.