nperf

Crates.ionperf
lib.rsnperf
version0.3.0
sourcesrc
created_at2023-02-24 22:15:10.392654
updated_at2023-03-13 17:45:27.921812
descriptionA network performance measurement tool for TCP/UCP/QUIC/TLS protocols. Similar to iperf3 in usage.
homepage
repositoryhttps://github.com/ravi861/nperf-rs
max_upload_size
id793966
size178,903
Ravi Vantipalli (ravi861)

documentation

README

nperf

A portable network performance measurement tool for TCP/UDP/QUIC/TLS protocols. Similar to iperf3 in usage.

Supported on Linux and Windows. (macos coming soon)

QUIC protocol testing uses the quinn QUIC implementation. Future support for Quiche is WIP.

Differences to iperf3

  • nperf works on Windows
  • QUIC is newly supported in nperf
  • TLS (tls over tcp) is newly supported in nperf
  • Some CLI options yet to be supported in nperf and some are WIP
  • SCTP is unsupported
  • No support for --bidir

Usage

More options available via help.

Server

# binds to [::]:8080 by default
cargo run -- -s

Client

# connects to 127.0.0.1:8080 by default and test TCP streams
cargo run --
cargo run -- -c 127.0.0.1

# Test TSL performance
cargo run -- --tls

# Test UDP performance
cargo run -- -u

# Test QUIC performance
cargo run -- -q

# Test with parallel streams using -P, period to test with -t
cargo run -- -u -P 2 -t 30

Future

  • Support for send/recv buffer sizes
  • More performance and configuration options for QUIC
Commit count: 43

cargo fmt