NBench.Runner 0.2.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NBench.Runner --version 0.2.0
NuGet\Install-Package NBench.Runner -Version 0.2.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="NBench.Runner" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NBench.Runner --version 0.2.0
#r "nuget: NBench.Runner, 0.2.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.
// Install NBench.Runner as a Cake Addin
#addin nuget:?package=NBench.Runner&version=0.2.0

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

NBench is a cross-platform automated performance profiling and testing framework for.NET applications.

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NBench.Runner:

Repository Stars
cuteant/SpanNetty
Port of Netty(v4.1.51.Final) for .NET
Version Downloads Last updated
1.2.2 119,690 7/24/2018
1.2.1 2,774 7/11/2018
1.2.0 1,262 7/10/2018
1.1.0 5,542 7/2/2018
1.0.4 17,084 6/16/2017
1.0.3 1,176 6/10/2017
1.0.2 1,016 6/2/2017
1.0.1 5,627 3/31/2017
1.0.0 1,701 3/15/2017
0.3.4 11,354 12/16/2016
0.3.3 4,948 12/8/2016
0.3.2 1,045 12/8/2016
0.3.1 10,628 8/16/2016
0.3.0 3,264 5/24/2016
0.2.2 1,340 5/3/2016
0.2.1 1,954 4/7/2016
0.2.0 1,006 4/6/2016
0.1.6 7,232 2/15/2016
0.1.5 3,555 12/10/2015
0.1.4 1,008 12/10/2015
0.1.3 1,044 12/8/2015
0.1.2 1,051 12/8/2015
0.1.1 1,107 12/7/2015
0.1.0 1,090 12/5/2015

Major changes in NBench v0.2, beginning with our new logo: ![NBench logo](https://github.com/petabridge/NBench/blob/dev/images/NBench_logo_square_140.png)
First, we've added an [extensible plugin API for capturing third-party metrics not natively provided by NBench](https://github.com/petabridge/NBench/pull/86). We will be providing more detailed documentation for this in a later release.
NBench.PerformanceCounters**
The first example of this can be found in NBench.PerformanceCounters, a brand new NuGet package that allows you to instrument any arbitrary Windows `PerformanceCounter` on any of your tests.
PS> Install-Package NBench.PerformanceCounters
This package introduces the three following attributes you can use on your benchmarks and performance tests:
`PerformanceCounterMeasurementAttribute` - measures any available performance counter.
`PerformanceCounterThroughputAssertion` - asserts a performance counter's *per-second* value.
`PerformanceCounterTotalAssertion` - asserts a performance counter's *total* value.
TimingMeasurement and ElapsedTimeAssertion**
Somewhat related to traditional `CounterMeasurement`s, we've added two new attributes which allow you to measure and assert against the total amount of elapsed time it took to run a particular block of code.
`TimingMeasurementAttribute` - reports on the elapsed time a single run of a benchmark took in milliseconds. Designed to work with `RunMode.Iterations` benchmarks.
`ElapsedTimeAssertionAttribute` - performs a bounds-checking assertion on amount of time it took to run a particular benchmark. Designed to work with `RunMode.Iterations` benchmarks.
These are now available as part of the core NBench package.
Additional NBench.Runner Options**
NBench.Runner now supports a new flag argument, `concurrent=true|false`
```
NBench.Runner.exe [assembly names] [output-directory={dir-path}] [configuration={file-path}] [include=MyTest*.Perf*,Other*Spec] [exclude=*Long*] [concurrent={true|false}]
```
concurrent=true|false** - disables thread priority and processor affinity operations for all benchmarks. Used only when running multi-threaded benchmarks. Set to `false` (single-threaded) by default.