Exemplo n.º 1
0
 static void Main(string[] args)
 => BenchmarkSwitcher
 .FromAssembly(typeof(StartBenchmarks).Assembly)
 .Run(args, new DebugInProcessConfig());
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).RunAllJoined();
     new SizeBenchmark().Print();
 }
Exemplo n.º 3
0
 public static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(Assembly.GetEntryAssembly()).Run(args);
Exemplo n.º 4
0
 public static void Main(string[] args)
 {
     // Without the line below, parameters with decimals will be outputted with commas in certain cultures
     Thread.CurrentThread.CurrentCulture = CultureInfo.InvariantCulture;
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
 }
Exemplo n.º 5
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
     //ProgrammRunner.Run(new ComplexOperationTestProgram());
     //ProgrammRunner.Run(new EdgePreservingSmoothingProgram());
 }
Exemplo n.º 6
0
 private static void Main(string[] args) =>
 _ = BenchmarkSwitcher
     .FromAssembly(typeof(BaseBenchmark).Assembly)
     .Run(args, new Config());
Exemplo n.º 7
0
        static void Main(string[] args)
        {
            var switcher = BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly);

            switcher.Run(args);
        }
Exemplo n.º 8
0
 static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
Exemplo n.º 9
0
 public static void Main(string[] args)
 {
     BenchmarkSwitcher
     .FromAssembly(typeof(Program).Assembly)
     .Run(args, DefaultConfig.Instance.WithOption(ConfigOptions.DisableOptimizationsValidator, true));
 }
Exemplo n.º 10
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).GetTypeInfo().Assembly).Run(args);
 }
Exemplo n.º 11
0
 /// <summary>
 /// Application entry point.
 /// </summary>
 public static void Main(string[] args)
 {
     // See https://benchmarkdotnet.org/articles/guides/console-args.html (or run app with --help)
     BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()).Run(args);
 }
Exemplo n.º 12
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
     //BenchmarkRunner.Run<MethodReflectionBenchmark>();
     Console.ReadKey();
 }
Exemplo n.º 13
0
 static void Main()
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).RunAll();
 }
Exemplo n.º 14
0
 private static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(Assembly.GetCallingAssembly()).RunAll();
 }
Exemplo n.º 15
0
 static void Main(string[] args) =>
 BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly())
 .Run(args);
Exemplo n.º 16
0
 public static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, CreateDefaultConfig());
 }
Exemplo n.º 17
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
     //BenchmarkRunner.Run<ShortRun_AllSerializerBenchmark_BytesInOut>();
 }
Exemplo n.º 18
0
        public static void Main(string[] args)
#if DEBUG
        => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly)
        .Run(args, new DebugInProcessConfig());
Exemplo n.º 19
0
 static void Main(string[] args)
 {
     // System.Guid.NewGuid().TryWriteBytes()
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
 }