dotnet / BenchmarkDotNet

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

What should I do if I need to see the output of each test item? #2551

Closed nczsl closed 3 months ago

nczsl commented 3 months ago

Let's say now I have two [Benchmark] test methods, and they both return an int[] result, and now I need to print out the last 10 elements of each return value, i.e. result[^10..] So what should I do? I don't see anything about this kind of issue in the officially specified documentation.

timcassell commented 3 months ago

It sounds like what you want is #784.

adamsitnik commented 3 months ago

Closing as duplicate