BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Powerful .NET library for benchmarking
- [x] Filter on benchmark parameters (say I only want to run `System.Text.Json.Tests.Perf_Basic.WriteBasicUtf16(Formatted: False, SkipValidation: False, DataSize: 100000)`, not the other 5 flavors) - [x] Ability to specify sets of...
When a benchmark returns a `ValueTask`, it is simply called with `.GetAwaiter().GetResult()`. This is illegal `ValueTask` usage: you must not call `GetResult()` until the task has been completed. `IValueTaskSource`-backed tasks...
Followup to #1941 (fixes #1595 and fixes #1738) Refactored delegates to reduce async measurement overhead (sync measurements are the same). Also added IterationSetup/Cleanup async support. Master: ``` | Method |...
I have a console app reading data from Console.ReadLine(). Is there any way to benchmark the app?
We want to be able to run thousands of benchmarks on powerful CI machines (64 cores+), it would be great to run the benchmarks in parallel. This should not be...
We established Visual Studio Code tasks to run different groups of benchmarks, but we can't easily access the [analyzers](https://github.com/dotnet/BenchmarkDotNet/tree/master/src/BenchmarkDotNet/Analysers) printed in the console via the [Problems panel](https://code.visualstudio.com/docs/editor/tasks#_defining-a-problem-matcher ). It would...
Cross platform disassembler doesn't output anything on macOS Details: .net core 5.0 preview 6, BDN 0.12.1 (which should have xplat support) For a benchmark like ```fs open BenchmarkDotNet.Attributes open BenchmarkDotNet.Running...
@AndreyAkinshin we currently have zero warnings (after #1896). I think that we should consider setting `TreatWarningsAsErrors` to true to prevent from new code issues being added. What do you think?
In #1542 @ronbrogan has reported a very unusual bug - a code that was CPU bound and not allocating at all was reporting allocations for .NET Core 3.1 (it works...
I would like to start a discussion, it is not a complete vision yet. Problem: in terms of Continuous Integration the software performance is usually ignored, or in best case...