dotnet-nperf
1.0.5
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global dotnet-nperf --version 1.0.5
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.5
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=dotnet-nperf&version=1.0.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package dotnet-nperf --version 1.0.5
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
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 | 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.