C# (CSharp) NBench Namespace

Nested Namespaces

NBench.Collection
NBench.Metrics
NBench.PerformanceCounters
NBench.Reporting
NBench.Runner
NBench.Sdk
NBench.Tests
NBench.Tracing
NBench.Util

Classes

Name Description
BenchmarkContext Contains the runtime context for a given benchmark run. Makes it possible for developers to access built-in Counters declared via the CounterMeasurementAttribute, CounterThroughputAssertionAttribute, and CounterTotalAssertionAttribute classes.
Counter A high-performance, thread-safe counter class used to measure throughput on user-defined metrics
CounterMeasurementAttribute
CounterThroughputAssertionAttribute
CounterTotalAssertionAttribute
ElapsedTimeAssertionAttribute
GcMeasurementAttribute
GcThroughputAssertionAttribute
GcTotalAssertionAttribute
MemoryAssertionAttribute
MemoryMeasurementAttribute
PerfBenchmarkAttribute