NBench 0.2.0

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

Showing the top 20 packages that depend on NBench.

Packages Downloads
NBench.Runner
Cross-platform performance benchmarking and testing framework for .NET applications.
18
NBench.Runner
Cross-platform performance benchmarking and testing framework for .NET applications.
22
NBench.Runner
NBench is a cross-platform automated performance profiling and testing framework for.NET applications.
18

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.

This package has no dependencies.

Version Downloads Last updated
2.0.1 42 02/13/2024
2.0.0 24 02/13/2024
1.2.2 28 02/13/2024
1.2.1 32 02/13/2024
1.2.0 28 02/13/2024
1.1.0 29 02/13/2024
1.0.4 26 02/13/2024
1.0.3 26 02/13/2024
1.0.2 28 02/13/2024
1.0.1 27 02/13/2024
1.0.0 29 02/13/2024
0.3.4 26 02/13/2024
0.3.3 20 02/13/2024
0.3.2 33 02/13/2024
0.3.1 31 02/13/2024
0.3.0 21 02/13/2024
0.2.2 32 02/13/2024
0.2.1 26 02/13/2024
0.2.0 28 02/13/2024
0.1.6 27 02/10/2020
0.1.5 27 02/10/2020
0.1.4 29 02/13/2024
0.1.3 32 02/13/2024
0.1.2 21 02/13/2024
0.1.1 23 02/13/2024
0.1.0 33 02/13/2024
0.0.2 29 02/13/2024