diff --git a/benchmark/Benchmark.cs b/benchmark/Benchmark.cs index e6184cc..c48e075 100644 --- a/benchmark/Benchmark.cs +++ b/benchmark/Benchmark.cs @@ -256,15 +256,10 @@ public unsafe void SIMDUtf8ValidationRealDataAvx512() } public class Program { - // TODO: adopt BenchmarkSwitcher https://benchmarkdotnet.org/articles/guides/how-to-run.html - /*public static void Main(string[] args) - { - var config = DefaultConfig.Instance.WithSummaryStyle(SummaryStyle.Default.WithMaxParameterColumnWidth(100)); - BenchmarkRunner.Run(config); - }*/ - static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args); + static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, DefaultConfig.Instance + .WithSummaryStyle(SummaryStyle.Default.WithMaxParameterColumnWidth(100))); } -} \ No newline at end of file +}