static void Main(string[] args) => BenchmarkSwitcher .FromAssembly(typeof(StartBenchmarks).Assembly) .Run(args, new DebugInProcessConfig());
static void Main(string[] args) { BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).RunAllJoined(); new SizeBenchmark().Print(); }
public static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(Assembly.GetEntryAssembly()).Run(args);
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); }
static void Main(string[] args) { BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); //ProgrammRunner.Run(new ComplexOperationTestProgram()); //ProgrammRunner.Run(new EdgePreservingSmoothingProgram()); }
private static void Main(string[] args) => _ = BenchmarkSwitcher .FromAssembly(typeof(BaseBenchmark).Assembly) .Run(args, new Config());
static void Main(string[] args) { var switcher = BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly); switcher.Run(args); }
static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
public static void Main(string[] args) { BenchmarkSwitcher .FromAssembly(typeof(Program).Assembly) .Run(args, DefaultConfig.Instance.WithOption(ConfigOptions.DisableOptimizationsValidator, true)); }
static void Main(string[] args) { BenchmarkSwitcher.FromAssembly(typeof(Program).GetTypeInfo().Assembly).Run(args); }
/// <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); }
static void Main(string[] args) { BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); //BenchmarkRunner.Run<MethodReflectionBenchmark>(); Console.ReadKey(); }
static void Main() { BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).RunAll(); }
private static void Main(string[] args) { BenchmarkSwitcher.FromAssembly(Assembly.GetCallingAssembly()).RunAll(); }
static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(Assembly.GetExecutingAssembly()) .Run(args);
public static void Main(string[] args) { BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, CreateDefaultConfig()); }
static void Main(string[] args) { BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); //BenchmarkRunner.Run<ShortRun_AllSerializerBenchmark_BytesInOut>(); }
public static void Main(string[] args) #if DEBUG => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly) .Run(args, new DebugInProcessConfig());
static void Main(string[] args) { // System.Guid.NewGuid().TryWriteBytes() BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); }