BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Powerful .NET library for benchmarking
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...
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? 
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...
```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`