public Benchmark Start (bool skipWarmupGC = false) { if (!skipWarmupGC) PrepareSystemForBenchmark (); _stopwatch.Start (); return this; }
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(); }