BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Powerful .NET library for benchmarking
This PR enable assembly signing for `Debug` build also. **Background** When using `BenchmarkDotNet.TestAdapter` and project contains `net462` target. `net462` benchmarks are not shown on TestExplorer with `Debug` configuration. And following...
This PR fixes #2747 by adding the ``WmiLightCpuDetector`` detector class that detects CPU info using the WmiLight library. This PR also updates ``WmicCpuDetector`` to also check for the presence of...
I've encountered following `ArgumentOutOfRangeException` on GitHub CI. (`test-linux`) Log: https://github.com/dotnet/BenchmarkDotNet/actions/runs/15608653226/job/43964042169 I've only encountered it this one time. Though it seems there is some conditions that cause `ArgumentOutOfRangeException` with `-∞` value....
.NET is introducing the ability to just run .cs files, as detailed in https://devblogs.microsoft.com/dotnet/announcing-dotnet-run-app/. It would be great if BDN could support this natively, so we can just write a...
[Bug] `InvalidOperationException` thrown on some conditions when using `BenchmarkDotNetDiagnosers`
When running `BenchmarkDotNet.Samples` project with following command. > dotnet run -c Release --framework net8.0 --anyCategories Dummy benchmark project throws following exception. > Unhandled exception. System.InvalidOperationException: Tool CPUUsageTool is already added....
BenchmarkDotNet.IntegrationTests.ManualRunning test projects seems not be executed on CI. And it need to manually invoke these tests. But when running test on my environment (with VS Test Explorer). Some tests...
Hi, When I run any Benchmark on my Laptop on Windows the Processor Model is not detected by BenchmarkDotNet. ``` BenchmarkDotNet v0.15.0, Windows 11 (10.0.26100.4061/24H2/2024Update/HudsonValley) Unknown processor .NET SDK 9.0.300...
Hi. I'm trying to test performance of some `ILogger` extensions that use a lot of lambdas. Benchmarks has the following structure ``` [HtmlExporter] [MarkdownExporter] [MemoryDiagnoser] [MaxColumn, MinColumn, MeanColumn] public class...
I use nice -n -1 when running the benchmark to minimize the effect of background processes on the system (on Linux). I am using NativeAOT 9.0.2 with the InProcessNoEmit toolchain....
Hi there, with Xamarin it is possible to run Benchmarks directly on the Android or iOS device like also shown in the Xamarin.Forms sample in this repo. Unfortunately that is...