tcp-echo-benchmark

Crates.iotcp-echo-benchmark
lib.rstcp-echo-benchmark
version0.1.1
created_at2025-01-25 13:12:21.890882+00
updated_at2025-06-07 21:39:02.814026+00
descriptionA high-performance TCP echo server benchmark tool measuring throughput using concurrent async clients. Supports configurable payload size, connection count, and test duration.
homepage
repositoryhttps://github.com/gohryt/tcp-echo-benchmark
max_upload_size
id1530604
size51,325
Alexander Kosachev (gohryt)

documentation

README

TCP Echo Benchmark Tool

A command-line utility written in Rust for benchmarking TCP echo server performance by simulating multiple clients sending and receiving data asynchronously.

Installation

cargo install tcp-echo-benchmark

Usage

tcp-echo-benchmark [-a <address>] [-l <length>] [-c <number>] [-t <duration>]

tcp-echo-benchmark

Options:
  -a, --address     address
  -l, --length      length
  -c, --number      number
  -t, --duration    duration
  --help, help      display usage information

Output example

Benchmarking localhost:8080 with 1 clients, 1 bytes, 5 seconds
Throughput: 69539 request/sec, 69539 response/sec
Total: 347696 requests, 347696 responses
Commit count: 3

cargo fmt