BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Powerful .NET library for benchmarking
Hi everyone! I have a POC application that has to copy some files for benchmark measures. So, I would like to copy some assets to outdir using build events. But...
I am looking at the export to JSON and XML for benchmark tests, to see if I can load it into something like Power BI, etc. I feel there is...
Fixes #1595 and fixes #1738 I also added `ValueTask` (non-generic) support for InProcess toolchains that was missing.
Please, add IAsyncEnumerable to list of Consume targets.
Currently options for the exporters console argument are hardcoded here: https://github.com/dotnet/BenchmarkDotNet/blob/21a29406406aeca1cdfa195fa86ac28d04ba8e33/src/BenchmarkDotNet/ConsoleArguments/ConfigParser.cs#L52-L71 I would love a way to add custom exporters as options to this list.
Sample: ```cmd dotnet run -c Release -f net5.0 --filter *Basic* --justBuild true ``` ```log // start dotnet build -c Release --no-restore /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 /p:Deterministic=true /p:Optimize=true in D:\projects\BenchmarkDotNet\samples\BenchmarkDotNet.Samples\bin\Release\net5.0\DefaultJob Microsoft (R)...
1. `DotNetCliExecutor` uses `SynchronousProcessOutputLoggerWithDiagnoser`, which reads stdout (only) synchronously, and once it gets `AfterAll` signal, it stops reading. But this means that we miss any output after that line, which...
Currently, we have the following [heuristic](https://github.com/dotnet/BenchmarkDotNet/blob/v0.13.1/src/BenchmarkDotNet/Engines/EngineFactory.cs#L55): if the duration of the first `WorkloadJitting` iteration is more than `IterationTime` (which is [500ms](https://github.com/dotnet/BenchmarkDotNet/blob/v0.13.1/src/BenchmarkDotNet/Engines/EngineResolver.cs#L13) by default), we skip the `Pilot` stage and perform...
Currently some of the `Consume` methods stash the reference passed to them in a local field, keeping the object alive as long as the consume object itself remains live. https://github.com/dotnet/BenchmarkDotNet/blob/b78ec96631c5065895255165b7113bf5062aa407/src/BenchmarkDotNet/Engines/Consumer.cs#L98-L109...
Hi there, I got this error when running my benchmark console application: ```C# System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: Unknown Acknowledgment: cknowledgment at...