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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-nperf --version 1.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.