Akka.Tests.Performance.Util.StandardOutWriterMemoryBenchmark.SetUp C# (CSharp) Метод

SetUp() приватный Метод

private SetUp ( BenchmarkContext context ) : void
context NBench.BenchmarkContext
Результат void
        public void SetUp(BenchmarkContext context)
        {
            // disable SO so we don't fill up the build log with garbage
            Console.SetOut(new StreamWriter(Stream.Null));
            _consoleWriteThroughputCounter = context.GetCounter(ConsoleWriteThroughputCounterName);
        }
StandardOutWriterMemoryBenchmark