dotnet-nperf 1.0.16

dotnet tool install --global dotnet-nperf --version 1.0.16
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.16
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-nperf&version=1.0.16
nuke :add-package dotnet-nperf --version 1.0.16

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

For help:

$ nperf --help

Basic usage is as such:

On first computer, start a server:

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).

On second computer, start a client that does the testing:

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:

Summary:
Running large data test...
Large data test completed in 8920 ms with 104857600 bytes sent
Running medium data test...
Medium data test completed in 1822 ms with 20971520 bytes sent
Running small data test...
Small data test completed in 3448 ms with 25600000 bytes sent

Summary:
Large data test: 89,69 Mbps / 11,21 MBps
Medium data test: 87,82 Mbps / 10,98 MBps
Small data test: 56,65 Mbps / 7,08 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 166 1/17/2024
1.0.15 161 9/25/2023
1.0.14 180 9/5/2023
1.0.13 161 9/4/2023
1.0.12 155 8/31/2023
1.0.11 233 8/21/2023
1.0.10 133 5/19/2023
1.0.9 124 5/16/2023
1.0.8 113 5/8/2023
1.0.7 133 5/8/2023
1.0.6 143 4/29/2023
1.0.5 167 4/29/2023