aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-12-07 12:58:08 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-12-07 12:58:08 -0800
commit1aee9d9880cf2d10fc14b884f0bc94a37b0a1162 (patch)
tree345adda91184d9db217ff2cf2a56a3ae06a7a4f4 /src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs
parent36dfd7d36365a4e435ef60eb5ffe7fda5b92ee21 (diff)
address comments
Diffstat (limited to 'src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs')
-rw-r--r--src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs b/src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs
index c84473830c..bb57a6968f 100644
--- a/src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs
+++ b/src/csharp/Grpc.Microbenchmarks/CompletionRegistryBenchmark.cs
@@ -51,7 +51,7 @@ namespace Grpc.Microbenchmarks
private void ThreadBody(int iterations, CompletionRegistry optionalSharedRegistry)
{
- var completionRegistry = optionalSharedRegistry ?? new CompletionRegistry(environment, () => BatchContextSafeHandle.Create(), () => RequestCallContextSafeHandle.Create());
+ var completionRegistry = optionalSharedRegistry ?? new CompletionRegistry(environment, () => throw new NotImplementedException(), () => throw new NotImplementedException());
var ctx = BatchContextSafeHandle.Create();
var stopwatch = Stopwatch.StartNew();