NBench v1.1 Production Release
v1.1.0 July 1 2018
Fixes several major issues with the NBench.Runner
executable and being able to support .NET Core dependencies. This is the first set of fixes in a series of ongoing changes designed to help make NBench more user-friendly, extensible, and capable of all manner of interesting performance-related tasks.
New Feature: Explicitly Settable Counter
s
Counter
instances can now be explicitly set to increment or decrement by a known value:
var counter = new Counter(new AtomicCounter(), new CounterMetricName("foo"));
counter.Increment(10);
counter.Decrement(2);
Console.WriteLine(counter.Current); // will print out 8