You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using BenchmarkDotNet.Attributes;using BenchmarkDotNet.Running;
BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args);[HideColumns("Job","StdDev","RatioSD")]publicclassMyBench{[Benchmark]publicboolTest()=>true;}
If I run this benchmark with a custom corerun, e.g.:
dotnet run -c Release -- --filter "*" --coreRun Path\to\corerun.exe
it outputs this:
| Method | Mean | Error |
|------- |----------:|----------:|-
| Test | 0.0062 ns | 0.0042 ns |
that trailing |- on the 2nd row makes the whole markdown invalid, e.g. here is what happens if I paste it here:
| Method | Mean | Error |
|------- |----------:|----------:|-
| Test | 0.0062 ns | 0.0042 ns |
While it should be:
Method
Mean
Error
Test
0.0062 ns
0.0042 ns
I can try to fix it myself unless you know that it can be trivially fixed 🙂
The text was updated successfully, but these errors were encountered:
* Fix - incorrect table markdown #2545
* Hide Column Table Markdown test case
* columHidingRules support for CreateSummary in MockFactory
* made the test case more generic to support hide columns attribute
* Update tests/BenchmarkDotNet.Tests/Exporters/MarkdownExporterVerifyTests.cs
---------
Co-authored-by: Tim Cassell <35501420+timcassell@users.noreply.github.com>
Minimal repro:
If I run this benchmark with a custom corerun, e.g.:
it outputs this:
that trailing
|-
on the 2nd row makes the whole markdown invalid, e.g. here is what happens if I paste it here:| Method | Mean | Error |
|------- |----------:|----------:|-
| Test | 0.0062 ns | 0.0042 ns |
While it should be:
I can try to fix it myself unless you know that it can be trivially fixed 🙂
The text was updated successfully, but these errors were encountered: