Ejemplo n.º 1
0
        private static void Main(string[] args)
        {
            IConfig config = DefaultConfig.Instance
                             .WithOrderer(new JoinedSummaryOrdererByType(SummaryOrderPolicy.FastestToSlowest));

#if DEBUG
            config = new BenchmarkDotNet.Configs.DebugInProcessConfig();
#endif

            BenchmarkSwitcher
            .FromAssembly(typeof(Program).Assembly)
            .Run(args, config);
            //.RunAllJoined(config);
        }