An open API service indexing awesome lists of open source software.

https://github.com/0mykull/spd

An internet speed test CLI tool written in rust.
https://github.com/0mykull/spd

cli network rust speedtest

Last synced: 6 months ago
JSON representation

An internet speed test CLI tool written in rust.

Awesome Lists containing this project

README

          

# spd • CLI Speed Test

![License](https://img.shields.io/crates/l/spd)
![Crates.io](https://img.shields.io/crates/v/spd)

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](./output.png)

## Usage
```bash
spd
spd --minimal # script-friendly output
spd --json # JSON output
```

## Installation
### From Crates.io
```bash
cargo install spd --locked
```

### From Source
```bash
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.