使用fast.com测试你的下载和上传速度。
使用 fast.com 测试你的下载和上传速度
确保你已安装 Node.js 20 或更高版本。然后运行以下命令:
npm install --global fast-cli本项目在底层使用了 Puppeteer。大多数安装问题都与它有关。
$ fast --help
Usage
$ fast
$ fast > file
Options
--upload, -u Measure upload speed in addition to download speed
--single-line Reduce spacing and output to a single line
--json JSON output
--verbose Include latency and server location information
Examples
$ fast --upload > file && cat file
17 Mbps
4.4 Mbps
$ fast --upload --json包含额外的诊断信息,如延迟和客户端位置:
fast --verbose72 Mbps
8 Mbps
Latency: 8 ms (unloaded) / 16 ms (loaded)
Client: Osaka, JP • 216.144.245.67速度单位为 Mbps。
fast --upload --json{
"downloadSpeed": 52,
"uploadSpeed": 64,
"downloadUnit": "Mbps",
"uploadUnit": "Mbps",
"downloaded": 270,
"uploaded": 290,
"latency": 9,
"bufferBloat": 46,
"userLocation": "Somewhere, NO",
"userIp": "49.222.206.21"
}暂无开放 Issues,或尚未同步最近议题。