BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Powerful .NET library for benchmarking
If I add RuntimeHostConfigurationOption to the benchmark project like this: ```xml ``` The built project will have this added to [appname].runtimeconfig.json: ```json { "runtimeOptions": { "configProperties": { "System.Runtime.Loader.UseRidGraph": true }...
Dev machine is on Windows 10 with net8.0 sdk installed. Alternate machine is on Windows 11 with net8.0 sdk installed. Set up project exactly as outlined in getting started. On...
BenchmarkDotNet version: 0.13.9 My benchmark code: ```cs using BenchmarkDotNet.Attributes; using BenchmarkDotNet.Running; BenchmarkRunner.Run(); public class NullableEqualsBenchmarks { [Params(1, 0, null)] public int? Prop { get; set; } [Benchmark] public int CurrentLoweringNonDefault()...
The benchmarks are running fine on a physical machine but the benchmarks fail most of the time on the CI. And sometimes it works for no apparent reason. The same...
When I run `BenchmarkDotNet.Samples.FSharp`, here is what the console looks like.  The text is a dark color on a black background. I am having difficulty seeing the...
I had a look at the other colors but with only 16 colors available on the `ConsoleColor` enum, there isn't much I can do. For now I changed the color...
It does not seem that `[IterationSetup]` and `[IterationCleanup]` may mark `async` methods for now. The code is failing with `…the wrong return type` error. Is there any reason why global...
Fixes #2425 I'm not sure why MSBuild fails when building in parallel with those settings, then builds with the wrong settings after switching to sequential (some latent build artifacts I...
I have some `csproj` that references a `vcxproj` and that builds just fine in Visual Studio. However, `dotnet build` (as used internally) does not support building native projects. I am...