diff options
author | Mark D. Roth <roth@google.com> | 2017-05-02 15:01:29 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2017-05-02 15:01:29 -0700 |
commit | b7e6fa5319145d581b0501ad9b2f60ae53c9bbed (patch) | |
tree | fd971dcddd4809e777b705a5584404613d2a4528 /src/csharp/Grpc.IntegrationTesting/QpsWorker.cs | |
parent | 64a317cc3e249a1b81327807f3dd7b998e0d9b88 (diff) | |
parent | 12056f1a0cdd3c02ca0b7aeba34a1f72da40f6c9 (diff) |
Merge remote-tracking branch 'upstream/master' into client_channel_cleanup
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting/QpsWorker.cs')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/QpsWorker.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/QpsWorker.cs b/src/csharp/Grpc.IntegrationTesting/QpsWorker.cs index b17b2c2183..486befe964 100644 --- a/src/csharp/Grpc.IntegrationTesting/QpsWorker.cs +++ b/src/csharp/Grpc.IntegrationTesting/QpsWorker.cs @@ -95,10 +95,13 @@ namespace Grpc.IntegrationTesting Ports = { new ServerPort(host, options.DriverPort, ServerCredentials.Insecure )} }; int boundPort = server.Ports.Single().BoundPort; - Console.WriteLine("Running qps worker server on " + string.Format("{0}:{1}", host, boundPort)); + GrpcEnvironment.Logger.Info("Running qps worker server on {0}:{1}", host, boundPort); server.Start(); await tcs.Task; await server.ShutdownAsync(); + + GrpcEnvironment.Logger.Info("GC collection counts (after shutdown): gen0 {0}, gen1 {1}, gen2 {2}, gen3 {3}", + GC.CollectionCount(0), GC.CollectionCount(1), GC.CollectionCount(2), GC.CollectionCount(3)); } } } |