|
Using Rust to write, based on TCP speed testing, can replace the official CLI client.
Different points of comparison:
1. Binary file size is small, only 200KB
2. Default single-threaded speed test, enable 4 threads or up to 256 threads through the -m option
Use method:
[ol]wget https://bench.im/x/x86_64/speedtest-cli && chmod +x speedtest-cli# wget https://bench.im/x/aarch64/speedtest-cli && chmod +x speedtest-cli./speedtest-cli[/ol]复制代码
Currently supported parameters include:
[ol]Usage: ./speedtest-cli [options]Options: -s, --server ID server id -a, --address HOSTORT server address -m, --multi [THREADS] enable multi threads -6, --ipv6 force IPv6 -u, --upload run upload test -d, --download run download test -p, --ping run ping test -r, --raw print raw output -h, --help print this help menu[/ol]复制代码 |
|