PerformanceTest.Benchmark.Start C# (CSharp) Method

Start() public method

public Start ( bool skipWarmupGC = false ) : Benchmark
skipWarmupGC bool
return Benchmark
        public Benchmark Start (bool skipWarmupGC = false)
        {
            if (!skipWarmupGC)
                PrepareSystemForBenchmark ();
            _stopwatch.Start ();
            return this;
        }

Same methods

Benchmark::Start ( string opName ) : Benchmark

Usage Example

コード例 #1
0
ファイル: Program.cs プロジェクト: zakailynn/BeetleX.Redis
 static void Main(string[] args)
 {
     Benchmark benchmark = new Benchmark();
     benchmark.Register(typeof(Program).Assembly);
     benchmark.Start();
     if (Environment.OSVersion.Platform == PlatformID.Win32NT)
         benchmark.OpenWeb();
     Console.Read();
     //Test();
     //Console.Read();
 }
All Usage Examples Of PerformanceTest.Benchmark::Start