Skip to content

Commit 0cdf6f5

Browse files
authored
Update microbenchmarks to use server GC (#635)
1 parent ce0dcd5 commit 0cdf6f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

perf/Grpc.AspNetCore.Microbenchmarks/DefaultCoreConfig.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,9 @@ public DefaultCoreConfig()
4343

4444
Add(JitOptimizationsValidator.FailOnError);
4545

46-
// TODO(JamesNK): Change to out of process and enable server GC when https://github.com/dotnet/BenchmarkDotNet/issues/1023 is fixed
4746
Add(Job.Core
4847
.With(CsProjCoreToolchain.From(new NetCoreAppSettings("netcoreapp3.0", null, ".NET Core 3.0")))
49-
.With(InProcessToolchain.Instance)
48+
.With(new GcMode { Server = true })
5049
.With(RunStrategy.Throughput));
5150
}
5251
}

0 commit comments

Comments
 (0)