BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Powerful .NET library for benchmarking
- Add `ParamsSource` support - Add `Arguments`/`ArgumentsSource` support - Fill `Params`/`ParamsSource` before `GlobalSetup` (fixes #2083 fixes #848) - Await async benchmarks (previously, only `GlobalSetup`/`GlobalCleanup` were awaited) - Call `IterationSetup`/`IterationCleanup` -...
Followup to #2108, (redo of #1968 with more tests). Refactored delegates to reduce async measurement overhead (sync measurements are the same). Master: ``` | Method | Mean | Error |...
I work in an equivalent make system that does not rely on csproj or other projects types as part of the build, but am interested in leveraging BenchmarkDotNet. With some...
The following invocation in dotnet/performance: ```bash dotnet run -c Release -f net7.0 -- --filter "System.Numerics.Tests.Perf_BigInteger.Parse" --corerun /mnt/c/dev/dotnet/core_roots/cf2187_release/corerun -p EP ``` hangs on a benchmark with a very long parameter. When...
Followup to #2108, split from #1941 (the changes here will be much smaller if #2108 is merged first).
Fixes #1738 and fixes #2236.
Fixes #1595. This was originally #1941, but I split it out to just include the `ValueTask` fixes (and I added more tests).
I get following exception when using `--disasm` on ARM64. ```cmd // AfterAll Unhandled exception. System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.XmlException: Root element is missing....
While trying to get the Getting-Started project `Md5VsSha256` working. I have just installed R for Windows (`R-4.2.1`) for the first time and then set the following environment variables: ``` R_Home=C:\Program...
Resolves #1783. Master: | Method | Runtime | Mean | Gen0 | Allocated | |------------ |--------- |-----------:|-------:|----------:| | AllocObject | .NET 6.0 | 8.6188 ns | 0.0076 | 24 B...