一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 168|回复: 0

Another DIY speedtest-cli client.

[复制链接]

2万

主题

2万

帖子

6万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
60996
发表于 2024-7-20 15:09:49 | 显示全部楼层 |阅读模式
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]复制代码
  • 回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|一元网络论坛

    GMT+8, 2024-9-29 21:33 , Processed in 1.132443 second(s), 19 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表