Skip to content

0mykull/spd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spd • CLI Speed Test

License Crates.io

spd is a speedy zero-copy Rust CLI that uses Cloudflare's global network to accurately measure 10Gbps+ internet speeds with minimal memory footprint.

Example Output

Example Output Image

Usage

spd
spd --minimal   # script-friendly output
spd --json      # JSON output

Installation

From Crates.io

cargo install spd --locked

From Source

git clone https://github.com/0mykull/spd.git
cd spd
./install.sh

How It Works

  • spd targets Cloudflare's edge using 8 concurrent streams for 10 seconds (plus 1s warmup) to saturate modern connections.
  • Latency: Measures HTTP RTT to 1.1.1.1.
  • Download: Streams 64KB chunks using zero-copy processing to minimize heap allocations.
  • Upload: Pushes a shared 1MB payload (Arc) via HTTP POST to eliminate memory overhead.

About

An internet speed test CLI tool written in rust.

Topics

Resources

License

Stars

Watchers

Forks

Contributors