Example #1
0
 public void ConcurrentCircularBufferWithoutResizing(BenchmarkContext context)
 {
     for (var i = 0; i < ItemCount;)
     {
         concurrentCircularBuffer.Add(i);
         _insertsCounter.Increment();
         ++i;
     }
 }
Example #2
0
 public AssertExecutor()
 {
     _internalExecutor = new TryCatchExecutor(exception => Exceptions.Add(exception));
 }