dotnet-nperf 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global dotnet-nperf --version 1.0.6
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local dotnet-nperf --version 1.0.6
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-nperf&version=1.0.6
nuke :add-package dotnet-nperf --version 1.0.6

nperf

Super simple network performance tester tool. Available as linux binary or a dotnet tool

Installation (dotnet tool)

$ dotnet tool install -g dotnet-nperf

Usage

nperf -s [-a <listen_address>] [-p <listen_port>]

By default starts a server listening on all interfaces and port 5000 (you can override address and port). You can also redirect the output to /dev/null to avoid the output to the console.

nperf -a <server_ip> [-p <server_port>]

Starts a client that connects to the server and sends three batches of data to the server:

  • 100MB in 1 iteration
  • 2MB in 10 iterations
  • 50KB in 500 iterations

At the end, the clients statistics as such:

Running large data test...
Large data test completed in 9790 ms with 104857600 bytes sent
Running medium data test...
Medium data test completed in 1999 ms with 20971520 bytes sent
Running small data test...
Small data test completed in 4047 ms with 25600000 bytes sent

Summary:
Large data test: 85,69 Mbps
Medium data test: 83,93 Mbps
Small data test: 50,61 Mbps
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.0.16 172 1/17/2024
1.0.15 164 9/25/2023
1.0.14 182 9/5/2023
1.0.13 163 9/4/2023
1.0.12 158 8/31/2023
1.0.11 235 8/21/2023
1.0.10 136 5/19/2023
1.0.9 126 5/16/2023
1.0.8 115 5/8/2023
1.0.7 135 5/8/2023
1.0.6 146 4/29/2023
1.0.5 169 4/29/2023