예제 #1
0
 static void Main(string[] args)
 => BenchmarkSwitcher
 .FromAssembly(typeof(StartBenchmarks).Assembly)
 .Run(args, new DebugInProcessConfig());
예제 #2
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).RunAllJoined();
     new SizeBenchmark().Print();
 }
예제 #3
0
 public static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(Assembly.GetEntryAssembly()).Run(args);
예제 #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);
 }
예제 #5
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
     //ProgrammRunner.Run(new ComplexOperationTestProgram());
     //ProgrammRunner.Run(new EdgePreservingSmoothingProgram());
 }
예제 #6
0
 private static void Main(string[] args) =>
 _ = BenchmarkSwitcher
     .FromAssembly(typeof(BaseBenchmark).Assembly)
     .Run(args, new Config());
예제 #7
0
        static void Main(string[] args)
        {
            var switcher = BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly);

            switcher.Run(args);
        }
예제 #8
0
 static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
예제 #9
0
 public static void Main(string[] args)
 {
     BenchmarkSwitcher
     .FromAssembly(typeof(Program).Assembly)
     .Run(args, DefaultConfig.Instance.WithOption(ConfigOptions.DisableOptimizationsValidator, true));
 }
예제 #10
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).GetTypeInfo().Assembly).Run(args);
 }
예제 #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);
 }
예제 #12
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
     //BenchmarkRunner.Run<MethodReflectionBenchmark>();
     Console.ReadKey();
 }
예제 #13
0
파일: Program.cs 프로젝트: mustik22/Pidgin
 static void Main()
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).RunAll();
 }
예제 #14
0
 private static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(Assembly.GetCallingAssembly()).RunAll();
 }
예제 #15
0
 static void Main(string[] args) =>
 BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly())
 .Run(args);
예제 #16
0
 public static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, CreateDefaultConfig());
 }
예제 #17
0
 static void Main(string[] args)
 {
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
     //BenchmarkRunner.Run<ShortRun_AllSerializerBenchmark_BytesInOut>();
 }
예제 #18
0
        public static void Main(string[] args)
#if DEBUG
        => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly)
        .Run(args, new DebugInProcessConfig());
예제 #19
0
파일: Program.cs 프로젝트: worldreaver/Ulid
 static void Main(string[] args)
 {
     // System.Guid.NewGuid().TryWriteBytes()
     BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
 }