BenchmarkDotNet icon indicating copy to clipboard operation
BenchmarkDotNet copied to clipboard

Powerful .NET library for benchmarking

Results 309 BenchmarkDotNet issues
Sort by recently updated
recently updated
newest added
trafficstars

From the .NET Team perspective we quite often hit some build-related issues that require us to change BDN source code and update to latest version. This is especially painful with...

I am wondering if adding support for benchmarking arbitrary process calls is possible for this project. Something like https://github.com/sharkdp/hyperfine/ , though perhaps with fewer shellisms.

Problem occurs after fresh build of solution, the message that i receive is as follows: // Validating benchmarks: // ***** BenchmarkRunner: Start ***** // ***** Found 1 benchmark(s) in total...

https://github.com/dotnet/BenchmarkDotNet/issues/1603

I wanted to propose the idea of adding analyzers for Benchmark.NET. There's a couple of rules I was thinking of for this library: * Make sure any classes that contain...

up-for-grabs
help wanted

https://github.com/dotnet/BenchmarkDotNet/blob/f372668e028161d0d1bf675811a6168967175034/src/BenchmarkDotNet/Extensions/ProcessExtensions.cs#L25-L35 There is [RealTime](https://docs.microsoft.com/en-us/dotnet/api/system.diagnostics.processpriorityclass?view=net-6.0) priority, which is the highest priority. It will reduce Windows overhead, because it's super aggressive mode. [See Raymond Chen's article](https://devblogs.microsoft.com/oldnewthing/20100610-00/?p=13753). A little problem: the IDE/cmd must...

Is it desired behavior or a bug? ![image](https://user-images.githubusercontent.com/19392641/148779735-fa58a177-0c85-45b8-8d47-586028a4a8fc.png)

question

Now BenchmarkDotNet allows to create a nice set of jobs for different environments. However, sometimes it's impossible to get all desired result with a single run. Examples: * Comparing performance...

enhancement
Area:Exporters

```C# [DryJob] public class Benchmarks { [Params("a", "b", "c")] [ParamsSource(nameof(Source))] public string Input { get; set; } [Benchmark] public void Test() { if(Input is "ddd" or "eee") Thread.Sleep(700); } public...

- fix / vs \ - fix `BenchmarkDotNet.Templates::0.0.0-* is not supported`