NBench 2.0.1

dotnet add package NBench --version 2.0.1
NuGet\Install-Package NBench -Version 2.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NBench" Version="2.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NBench --version 2.0.1
#r "nuget: NBench, 2.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NBench as a Cake Addin
#addin nuget:?package=NBench&version=2.0.1

// Install NBench as a Cake Tool
#tool nuget:?package=NBench&version=2.0.1

Cross-platform performance benchmarking and testing framework for .NET applications.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on NBench:

Package Downloads

Allows NBench tests to be discovered, executed, reported, and debugged using xUnit in ReSharper, and Visual Studio Test Explorer. Please refer to the project Url for usage information: https://github.com/Pro-Coded/Pro.NBench.xUnit


Windows only. Adds performance counter support to NBench measurements.


Cross-platform performance benchmarking and testing framework for .NET applications.


Package Description

GitHub repositories (8)

Showing the top 5 popular GitHub repositories that depend on NBench:

Repository Stars
Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
DotNetty project – a port of netty, event-driven asynchronous network application framework
JSON Schema reader, generator and validator for .NET
Code analyzer for C# and VB.NET projects
reactive socket middleware for .NET
Version Downloads Last updated
2.0.1 267,665 2/25/2020
2.0.0 652 2/24/2020
1.2.2 208,556 7/24/2018
1.2.1 2,557 7/11/2018
1.2.0 1,189 7/10/2018
1.1.0 7,016 7/2/2018
1.0.4 123,547 6/16/2017
1.0.3 1,332 6/11/2017
1.0.2 1,465 6/2/2017
1.0.1 25,611 3/31/2017
1.0.0 4,077 3/15/2017
0.3.4 41,561 12/16/2016
0.3.3 1,655 12/8/2016
0.3.2 1,340 12/8/2016
0.3.1 11,307 8/16/2016
0.3.0 8,220 5/24/2016
0.2.2 2,520 5/3/2016
0.2.1 2,606 4/7/2016
0.2.0 1,342 4/6/2016
0.1.6 1,754 2/15/2016
0.1.5 14,786 12/10/2015
0.1.4 1,141 12/10/2015
0.1.3 1,146 12/8/2015
0.1.2 1,117 12/8/2015
0.1.1 1,098 12/7/2015
0.1.0 1,352 12/4/2015
0.0.2 1,421 12/4/2015

NBench 2.0.0 is a major departure from NBench 1.2 and preceding versions, and these changes were done in order to support NBench's future as a cutting-edge, cross-platform performance testing and macro benchmarking framework:
- `dotnet nbench` and `NBench.Runner` are both now deprecated - [NBench is now run from directly inside a console application created by end-users](https://nbench.io/articles/quickstart.html). This makes it easier to configure, debug, and create benchmarks on new .NET Core platforms without having to wait for additional instrumentation or tooling from NBench itself.
- NBench no longer supports .NET Framework explicitly; moving forward NBench will only support .NET Standard 2.0 and later (.NET Framework 4.6.1 and greater or .NET Core 2.0 and greater.)
- We've added a new documentation website for NBench: https://nbench.io/
- NBench now supports configuration as code through the [`TestPackage` class](https://nbench.io/api/NBench.Sdk.TestPackage.html).
For a full set of changes, [please see the NBench 2.0.0 milestone on Github](https://github.com/petabridge/NBench/milestone/3).
2.0.1 Notes:
Fixed error with setting thread priority on Linux;
Fixed NuGet symbol publication;
And more.
For a full set of changes, [please see the NBench 2.0.1 milestone on Github](https://github.com/petabridge/NBench/milestone/8).