Skip to content
Aaron Stannard edited this page Nov 2, 2015 · 1 revision

NBench

NBench is a performance benchmarking and testing library for .NET applications. It's designed to allow .NET developers to run repeatable performance tests for application-size blocks of code (it's not for microbenchmarking, in other words) in a platform-agnostic way.

Supported Platforms

NBench is designed to support the following platforms:

  1. CLR .NET 4.5.0 and later
  2. Mono 4.0 and later
  3. CoreCLR (planned, but not implemented)

Measurements

Here are the types of things you can measure with NBench:

  • Built-in metrics such as memory allocation, GC overhead, CPU utilization, and more;
  • User-defined counters, timers, and gauges.
Clone this wiki locally