From 1a598064a5a34b1e3e0eddf1fa98a2d935eecaec Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Mon, 27 May 2024 12:38:15 -0400 Subject: [PATCH] fix: improve bitmap output by widening the columns --- benchmark/Benchmark.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) 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 +}