dotnet / BenchmarkDotNet

Powerful .NET library for benchmarking
https://benchmarkdotnet.org
MIT License
10.47k stars 962 forks source link

`Job.WithGcForce` does not work #2568

Open timcassell opened 5 months ago

timcassell commented 5 months ago

While working on #2562, I found that Job.WithGcForce(false) doesn't do anything, and the Engine calling ForceGcCleanups = targetJob.ResolveValue(GcMode.ForceCharacteristic, Resolver); only ever returns the default value true.

cc @AndreyAkinshin