reduce threadpool size for qps benchmarks

pull/11930/head
Jan Tattermusch 8 years ago
parent 7dbd72497c
commit 75e9eaed44
  1. 5
      src/csharp/Grpc.IntegrationTesting/QpsWorker.cs

@ -63,11 +63,6 @@ namespace Grpc.IntegrationTesting
private async Task RunAsync()
{
// (ThreadPoolSize == ProcessorCount) gives best throughput in benchmarks
// and doesn't seem to harm performance even when server and client
// are running on the same machine.
GrpcEnvironment.SetThreadPoolSize(Environment.ProcessorCount);
string host = "0.0.0.0";
int port = options.DriverPort;

Loading…
Cancel
Save