Skip to content

Commit

Permalink
Update microbenchmarks to use server GC (#635)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK authored Nov 1, 2019
1 parent ce0dcd5 commit 0cdf6f5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions perf/Grpc.AspNetCore.Microbenchmarks/DefaultCoreConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ public DefaultCoreConfig()

Add(JitOptimizationsValidator.FailOnError);

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

0 comments on commit 0cdf6f5

Please sign in to comment.