NBenchmark 0.20.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NBenchmark --version 0.20.0
                    
NuGet\Install-Package NBenchmark -Version 0.20.0
                    
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="NBenchmark" Version="0.20.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NBenchmark" Version="0.20.0" />
                    
Directory.Packages.props
<PackageReference Include="NBenchmark" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NBenchmark --version 0.20.0
                    
#r "nuget: NBenchmark, 0.20.0"
                    
#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.
#:package NBenchmark@0.20.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NBenchmark&version=0.20.0
                    
Install as a Cake Addin
#tool nuget:?package=NBenchmark&version=0.20.0
                    
Install as a Cake Tool

NBenchmark is the easiest way to measure the speed of your .NET code. With zero setup and a focus on simplicity, you can go from installation to your first accurate benchmark in seconds-perfect for quick checks and full performance suites alike.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (6)

Showing the top 5 NuGet packages that depend on NBenchmark:

Package Downloads
NBenchmark.Integration.Abstractions

Shared abstractions and reusable building blocks for NBenchmark integration packages.

NBenchmark.DependencyInjection

Resolves benchmark classes from an IServiceProvider so they can have constructor dependencies.

NBenchmark.Reporters.Console

Rich terminal table output for NBenchmark using Spectre.Console.

NBenchmark.Integration.NUnit

Run NBenchmark benchmarks as NUnit tests with configurable performance thresholds.

NBenchmark.Integration.MSTest

Run NBenchmark benchmarks as MSTest tests with configurable performance thresholds.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.26.0 203 6/30/2026
0.25.1 215 6/26/2026
0.25.0 221 6/26/2026
0.24.0 222 6/25/2026
0.23.0 219 6/25/2026
0.22.1 217 6/24/2026
0.22.0 219 6/23/2026
0.21.1 213 6/23/2026
0.21.0 215 6/23/2026
0.20.0 224 6/22/2026
0.19.0 224 6/20/2026
0.18.0 218 6/19/2026
0.17.0 220 6/19/2026
0.16.0 218 6/19/2026
0.15.0 228 6/18/2026
0.14.0 218 6/17/2026
0.13.0 214 6/17/2026
0.12.0 213 6/16/2026
0.11.1 216 6/16/2026
0.11.0 219 6/16/2026
Loading failed