public static void Run() { BenchmarkRunner.Run <IntroCustomMonoFluentConfig>(ManualConfig .CreateMinimumViable() .AddJob(Job.ShortRun.WithRuntime(new MonoRuntime( "Mono x64", @"C:\Program Files\Mono\bin\mono.exe"))) .AddJob(Job.ShortRun.WithRuntime(new MonoRuntime( "Mono x86", @"C:\Program Files (x86)\Mono\bin\mono.exe")))); }
public static void Main(string[] args) { #if DEBUG var config = new DebugInProcessConfig() .WithOptions(ConfigOptions.DisableOptimizationsValidator); #else var config = ManualConfig.CreateMinimumViable(); #endif var summary = BenchmarkRunner.Run(typeof(Program).Assembly, config); }
public static void Main() { var exporter = new CsvExporter( CsvSeparator.CurrentCulture, new SummaryStyle( cultureInfo: System.Globalization.CultureInfo.GetCultureInfo("nl-NL"), printUnitsInHeader: true, printUnitsInContent: false, timeUnit: Perfolizer.Horology.TimeUnit.Microsecond, sizeUnit: SizeUnit.KB )); var config = ManualConfig.CreateMinimumViable().AddExporter(exporter); _ = BenchmarkRunner.Run <BeEquivalentToWithDeeplyNestedStructures>(config); }