From b35dfa83b5ba69daf000125f37602ae1fff011d6 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Fri, 28 Oct 2016 16:40:22 +0200 Subject: remove existing profiling points --- src/csharp/Grpc.Core/Internal/CallSafeHandle.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/csharp/Grpc.Core/Internal/CallSafeHandle.cs') diff --git a/src/csharp/Grpc.Core/Internal/CallSafeHandle.cs b/src/csharp/Grpc.Core/Internal/CallSafeHandle.cs index 82361f5797..f817a61bce 100644 --- a/src/csharp/Grpc.Core/Internal/CallSafeHandle.cs +++ b/src/csharp/Grpc.Core/Internal/CallSafeHandle.cs @@ -76,11 +76,8 @@ namespace Grpc.Core.Internal public void StartUnary(BatchContextSafeHandle ctx, byte[] payload, MetadataArraySafeHandle metadataArray, WriteFlags writeFlags) { - using (Profilers.ForCurrentThread().NewScope("CallSafeHandle.StartUnary")) - { - Native.grpcsharp_call_start_unary(this, ctx, payload, new UIntPtr((ulong)payload.Length), metadataArray, writeFlags) - .CheckOk(); - } + Native.grpcsharp_call_start_unary(this, ctx, payload, new UIntPtr((ulong)payload.Length), metadataArray, writeFlags) + .CheckOk(); } public void StartClientStreaming(UnaryResponseClientHandler callback, MetadataArraySafeHandle metadataArray) -- cgit v1.2.3