Tim Cassell
Tim Cassell
I can confirm that I am seeing the same issue (sometimes shows allocations, sometimes doesn't) in .NET 5.0, so it's not isolated to Core 3.1. ``` BenchmarkDotNet=v0.12.1.20201202-develop, OS=Windows 7 SP1...
Looks like this was fixed in .Net 6 preview 6. https://github.com/dotnet/runtime/issues/45446#issuecomment-885988593
@kouvel Curious if this was actually fixed in https://github.com/dotnet/runtime/pull/67160?
Did it freeze? Or it just keep doing more iterations? Your results are extremely volatile which seems to be why it keeps running more iterations. It will do up to...
Reposting here since I didn't realize it was a duplicate #1730. (Same idea as @sandersaares) --- I was thinking it could be done by utilizing a method returning a `Dictionary`...
We could also have a custom post-processor: ```cs [CustomTableResults(Target = nameof(MyBenchmark))] public Dictionary GetCustomResults() { return new Dictionary() { ["Example Result"] = "Custom result for " + nameof(MyBenchmark) }; }...
`net6.0;net472` I tried the root project build in both, and got the same failure. ``` Exe net472;net6.0 ``` (I referenced a local clone for the #2012 changes.)
Static constructors are only ran once. So only the first warm-up iteration should measure the impact and subsequent iterations should not. Are you measuring a cold start? A regular run...
Would it make sense to have a helper class to do this, rather than attributes and code-gen? ```cs class Benchmark { private ThreadHelper threadHelper; [GlobalSetup] public void Setup() { threadHelper...
I wrote a helper to make it simpler and more efficient to benchmark multi-threaded actions than manually setting up threads. https://github.com/timcassell/ProtoBenchmarkHelpers This can be used until BDN adds multi-threaded benchmarking...