BenchmarkDotNet
BenchmarkDotNet copied to clipboard
Survived Memory
In an attempt to address my question on #1579, I worked on this.
I added an optional includeSurvived flag on MemoryDiagnoserAttribute and --memorySurvived command line option to capture the survived memory from a benchmark run.
.NET Core 3.1 and 5.0 measurement issue: https://github.com/dotnet/runtime/issues/45446
Looks like measurement errors are fixed in .Net 7 as of https://github.com/dotnet/runtime/pull/67160.