BenchmarkDotNet icon indicating copy to clipboard operation
BenchmarkDotNet copied to clipboard

Powerful .NET library for benchmarking

Results 223 BenchmarkDotNet issues
Sort by recently updated
recently updated
newest added

When running this benchmark: ```cs using System; using System.Linq; using BenchmarkDotNet.Attributes; using Ardalis.Extensions.Enumerable; using System.Collections.Generic; namespace Ardalis.Extensions.Benchmarks.Enumerable; [MemoryDiagnoser] [ReturnValueValidator(failOnError: true)] public class ProductBenchmarks { [Params(4, 5, 6, 7)] public int...

bug

Fixes #1133 This wraps the workload call with a `NoInlining | NoOptimization` method instead of a delegate. Mac Intel x64 results ``` BenchmarkDotNet=v0.13.5.20230619-develop, OS=macOS Monterey 12.3 (21E230) [Darwin 21.4.0] Intel...

Area:CodeGen

Context: https://github.com/dotnet/BenchmarkDotNet/issues/2371#issuecomment-1814709479 It should not affect the WASM benchmarks (cc @radical), as they have their own generator: https://github.com/dotnet/BenchmarkDotNet/blob/630622b6df3192f766ffa03ff07b5086e70cb264/src/BenchmarkDotNet/Toolchains/MonoWasm/WasmGenerator.cs#L52 https://github.com/dotnet/BenchmarkDotNet/blob/630622b6df3192f766ffa03ff07b5086e70cb264/src/BenchmarkDotNet/Templates/WasmCsProj.txt#L3-L5 which links a dedicated props file: https://github.com/dotnet/performance/blob/main/src/benchmarks/micro/MicroBenchmarks.Wasm.props But I am not...

Area:Toolchains

Fixes #1197 Fixes #2344 Also fixes legacy `packages.config` issues with `CsProjClassicNetToolchain` (no open issue, but was mentioned in https://github.com/dotnet/BenchmarkDotNet/issues/2405#issuecomment-1683212942). And this is a pre-requisite to adding support for `extern alias`...

Area:Toolchains

https://github.com/dotnet/BenchmarkDotNet/runs/20755135205 https://github.com/dotnet/BenchmarkDotNet/pull/2511/checks?check_run_id=21320355764

up-for-grabs
help wanted
good first issue
Area:DevOps

We've noticed that your package on NuGet.org is missing a README file. ## Why READMEs are Important A README is essential for users to understand your package's purpose and functionality...

_This is a preliminary version._ ## The purpose The purpose of this PR is to make it possible to compare benchmarks between two versions or run when nuget packages cannot...

### Discussed in https://github.com/dotnet/BenchmarkDotNet/discussions/2424 Originally posted by **SebastianStehle** September 2, 2023 Hi, I want to benchmark with local version of the library with previous nuget versions. Therefore I have created...

bug

It is easy to create benchmarks, for example as shown in [README.md](https://github.com/dotnet/BenchmarkDotNet/blob/master/README.md): ``` // attributes here public class Md5VsSha256 { // setups and benchmarks here } ``` However, if I...

up-for-grabs
Area:Validators
good first issue