BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Powerful .NET library for benchmarking
The original issue was reported in https://github.com/dotnet/performance/issues/1701: ```log // Benchmark Process Environment Information: // Runtime=.NET 6.0.0 (6.0.21.11801), X64 RyuJIT // GC=Concurrent Workstation // Job: Job-AQTFSE(PowerPlanMode=00000000-0000-0000-0000-000000000000, IterationTime=250.0000 ms, MaxIterationCount=20, MinIterationCount=15, WarmupCount=1)...
I'm trying to benchmark code in a self-contained project and am encountering an issue where the autogenerated project is not being generated as a self-contained project leading to this error...
https://github.com/dotnet/BenchmarkDotNet/issues/521 added support for async GlobalSetup, but it appears that InProcess toolchain does not wait for the async setup method to finish. Simple reproducer: ```cs using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; using...
Benchmarks run quite long to get accurate results. This time multiplies by params and benchmarks defined. It would be nice to have a progress indicator for the running benchmarking process....
Steps to reproduce: 1. Clone [the solution](https://github.com/yaskovdev/sandbox/tree/master/BenchmarkDotNetBug). 2. Open PowerShell in the same directory as `BenchmarkDotNetBug.sln` as an admin. 3. Run `.\BuildAndRun.ps1`. 4. Wait a few minutes for the benchmark...
We have a test that ensure that latest NativeAOT is supported: https://github.com/dotnet/BenchmarkDotNet/blob/c165ba17501626561297a80fe1b05b2400ce8014/tests/BenchmarkDotNet.IntegrationTests/NativeAotTests.cs#L18 Recently it got broken because we can't build a `net6.0` app using .NET 7 NativeAOT bits: ```log Unable...
With #2002 we made it possible to mix `--runtimes and --corerun`, with #1621 we started hiding the `Job` and `Toolchain` columns. Repro: ```cmd dotnet run -c Release -f net6.0 --...
I have been experiencing an issue where the benchmark tests run, but BenchmarkDotNet failed when generating the reports. At first, I thought it was due to the benchmark test classes...
After running BDN on Linux I see my terminal colors modified. SSH via PuTTY with xterm, .NET 6, BDN 0.13.2, Ubuntu 18.04. (Similar results were seen with xterm-256color) * A...
Is this written somewhere? Looks pretty used https://github.com/dotnet/BenchmarkDotNet/blob/f17453cef3a91ac90540dec1dcdee21725def6f8/src/BenchmarkDotNet/Running/UserInteraction.cs#L97-L103 FYI: It's not `string.Contains` but `IEnumerable.Contains`, so the input "a*b" or "**" doesn't work (as excepted).