BenchmarkDotNet icon indicating copy to clipboard operation
BenchmarkDotNet copied to clipboard

Generating Reports Fails

Open RealDotNetDave opened this issue 3 years ago • 1 comments
trafficstars

I have been experiencing an issue where the benchmark tests run, but BenchmarkDotNet failed when generating the reports. At first, I thought it was due to the benchmark test classes having too many methods. I refactored some methods into new classes, but now it's happening with a class with 46 methods. I am testing with .NET 6 and 7. The version of BenchmarkDotNet I am using is 0.13.1.1853.

What I'm seeing is that it creates a zero-length CSV file and just gets stuck there. I let it go for many hours and it never completed. It seems to be doing something since I can see with the Task Manager the CPU and Memory changing. It hovers around 40% CPU and I saw the memory go from about 6 GB to 13 GB.

I don't see an exception being thrown and I don't see anything in the Event Logs.

Below I am attaching, the log file and screen grab from the Task Manager. Please let me know if you need anything else to track this down.

dotNetTips.CodePerf.Example.App.BenchmarkTests.GeneralCollectionBenchmark-20220826-214244.log

ScreenGrab

https://user-images.githubusercontent.com/15676130/187038392-38547110-351b-46db-8217-7d6879cb7721.mp4

RealDotNetDave avatar Aug 27 '22 16:08 RealDotNetDave