v0.0.1

nperf-rs

Network speed benchmark CLI built in Rust.
Multi-server parallel testing. 87 Thai servers. One binary.
เครื่องมือทดสอบความเร็วเครือข่าย CLI สร้างด้วย Rust
ทดสอบหลายเซิร์ฟเวอร์พร้อมกัน รองรับ 87 เซิร์ฟเวอร์ในไทย

nperf-rs

Built for speed nerdsสร้างมาสำหรับสายเน็ตเวิร์ค

Multi-Server Parallelทดสอบหลายเซิร์ฟเวอร์พร้อมกัน

Test against multiple servers simultaneously. Real-time per-server throughput with bar charts.ทดสอบหลายเซิร์ฟเวอร์พร้อมกัน แสดงผลแบบ real-time พร้อม bar chart

🦀

Pure Rust, Single BinaryRust ล้วน ไฟล์เดียว

No dependencies. Static binary with rustls TLS. Under 900KB with UPX.ไม่ต้องติดตั้งอะไรเพิ่ม ไฟล์เดียวพร้อมใช้ ขนาดไม่ถึง 900KB

🌏

87 Thai Servers Built-in87 เซิร์ฟเวอร์ในไทย

Filter by provider (True, AIS, 3BB, DTAC) or city. Pick random servers.กรองตามผู้ให้บริการ (True, AIS, 3BB, DTAC) หรือจังหวัด สุ่มเลือกได้

📊

Colorful TUI Outputแสดงผลสีสันสวยงาม

Live progress bars, per-server speed bars, color-coded results. JSON output mode.Progress bar สด, bar chart แต่ละเซิร์ฟเวอร์ รองรับ JSON output

🔬

Latency + Download + Uploadวัด Latency + Download + Upload

Full test suite with jitter, multi-threaded throughput, slow-start exclusion.ชุดทดสอบครบ พร้อม jitter, multi-thread, ตัด slow-start

🖥️

Cross-Platformรองรับทุกแพลตฟอร์ม

Linux, macOS, Windows — amd64, arm64, x86. Static musl builds for Linux.Linux, macOS, Windows — amd64, arm64, x86 รวม 7 แพลตฟอร์ม

Get the binaryดาวน์โหลดไฟล์

1. Download (Apple Silicon)1. ดาวน์โหลด (Apple Silicon)
curl -Lo nperf-rs https://github.com/1moby/nperf-rs/releases/latest/download/nperf-rs-macos-arm64
For Intel Mac, replace arm64 with intel: nperf-rs-macos-intelสำหรับ Mac Intel ใช้ intel แทน arm64: nperf-rs-macos-intel
2. Remove macOS quarantine flag2. ลบ quarantine flag ของ macOS
xattr -d com.apple.quarantine nperf-rs
This fixes: "Apple could not verify ... is free of malware"แก้ปัญหา: "Apple could not verify ... is free of malware"
3. Make executable3. ให้สิทธิ์รัน
chmod +x nperf-rs
4. Run4. รัน
./nperf-rs
1. Download (x86_64)1. ดาวน์โหลด (x86_64)
curl -Lo nperf-rs https://github.com/1moby/nperf-rs/releases/latest/download/nperf-rs-linux-amd64
For ARM64, replace amd64 with arm64: nperf-rs-linux-arm64สำหรับ ARM64 ใช้ arm64 แทน amd64: nperf-rs-linux-arm64

Or with wget:หรือใช้ wget: wget -O nperf-rs https://github.com/1moby/nperf-rs/releases/latest/download/nperf-rs-linux-amd64
2. Make executable2. ให้สิทธิ์รัน
chmod +x nperf-rs
3. Run3. รัน
./nperf-rs
Optional: Install system-wideติดตั้งให้ใช้ได้ทั้งระบบ (ไม่บังคับ)
sudo mv nperf-rs /usr/local/bin/
1. Download with PowerShell (x86_64)1. ดาวน์โหลดด้วย PowerShell (x86_64)
Invoke-WebRequest -Uri https://github.com/1moby/nperf-rs/releases/latest/download/nperf-rs-windows-amd64.exe -OutFile nperf-rs.exe
For ARM64: nperf-rs-windows-arm64.exe  |  For x86: nperf-rs-windows-x86.exeสำหรับ ARM64: nperf-rs-windows-arm64.exe  |  สำหรับ x86: nperf-rs-windows-x86.exe
2. Run2. รัน
.\nperf-rs.exe
If Windows SmartScreen warns "unrecognized app": click More infoRun anywayถ้า Windows SmartScreen แจ้งเตือน: กด More infoRun anyway

Or build from source: cargo install --git https://github.com/1moby/nperf-rs หรือ build จาก source: cargo install --git https://github.com/1moby/nperf-rs
All releases: ทุกเวอร์ชัน: github.com/1moby/nperf-rs/releases

87 servers across Thailand87 เซิร์ฟเวอร์ทั่วประเทศไทย

Providerผู้ให้บริการ Cityจังหวัด Speedความเร็ว Hostname

Quick startเริ่มต้นใช้งาน

Default (3 Bangkok servers)ค่าเริ่มต้น (3 เซิร์ฟเวอร์กรุงเทพ)
$ nperf-rs
List all serversแสดงรายชื่อเซิร์ฟเวอร์
$ nperf-rs --list
Filter by providerกรองตามผู้ให้บริการ
$ nperf-rs -f AIS
5 random servers, 10 threadsสุ่ม 5 เซิร์ฟเวอร์, 10 threads
$ nperf-rs --random 5 -t 10
Specific server + JSONเจาะจงเซิร์ฟเวอร์ + JSON
$ nperf-rs -u wss://th-ais-bangkok-01-10g.nperf.net/wsock --json
Download only, custom durationทดสอบเฉพาะดาวน์โหลด
$ nperf-rs --no-latency --no-upload --download-duration 30