dotnet / BenchmarkDotNet

Powerful .NET library for benchmarking
https://benchmarkdotnet.org
MIT License
10.51k stars 968 forks source link

Details - add table for min/max/median/quartiles #2659

Closed fandrei closed 3 hours ago

fandrei commented 4 hours ago

It would be much more convenient to read and analyze data from the single table rather than multiple lists of values.

timcassell commented 3 hours ago

You can manually add the columns via config. Example:

https://github.com/dotnet/BenchmarkDotNet/blob/af8bde44bc1b108444bdea9ee61c2975b3a2dffd/tests/BenchmarkDotNet.IntegrationTests/StatResultExtenderTests.cs#L24-L37

fandrei commented 3 hours ago

Cool, thanks. However, it would be better with less jumping through the hoops.

timcassell commented 3 hours ago

You could try adding [AllStatisticsColumn] to your benchmark class.