Skip to content

Commit e5f5b39

Browse files
authored
Merge pull request #35 from simdutf/clean_benchmark
fix: improve bitmap output by widening the columns
2 parents 7d11046 + 1a59806 commit e5f5b39

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

benchmark/Benchmark.cs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -256,15 +256,10 @@ public unsafe void SIMDUtf8ValidationRealDataAvx512()
256256
}
257257
public class Program
258258
{
259-
// TODO: adopt BenchmarkSwitcher https://benchmarkdotnet.org/articles/guides/how-to-run.html
260-
/*public static void Main(string[] args)
261-
{
262-
var config = DefaultConfig.Instance.WithSummaryStyle(SummaryStyle.Default.WithMaxParameterColumnWidth(100));
263-
BenchmarkRunner.Run<RealDataBenchmark>(config);
264-
}*/
265-
static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);
259+
static void Main(string[] args) => BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, DefaultConfig.Instance
260+
.WithSummaryStyle(SummaryStyle.Default.WithMaxParameterColumnWidth(100)));
266261

267262

268263
}
269264

270-
}
265+
}

0 commit comments

Comments
 (0)