1 write to _dispatcher
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
DefaultHubDispatcherBenchmark.cs (1)
33
_dispatcher
= new DefaultHubDispatcher<TestHub>(
29 references to _dispatcher
Microsoft.AspNetCore.SignalR.Microbenchmarks (29)
DefaultHubDispatcherBenchmark.cs (29)
215
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "Invocation", Array.Empty<object>()));
221
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationAsync", Array.Empty<object>()));
227
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationReturnValue", Array.Empty<object>()));
233
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationReturnAsync", Array.Empty<object>()));
239
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", "InvocationValueTaskAsync", Array.Empty<object>()));
245
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReader", Array.Empty<object>()));
251
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReaderAsync", Array.Empty<object>()));
257
return
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReaderValueTaskAsync", Array.Empty<object>()));
263
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReaderCount", new object[] { 0 }));
272
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamIAsyncEnumerableCount", new object[] { 0 }));
281
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamIAsyncEnumerableCountCompletedTask", new object[] { 0 }));
290
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReaderCount", new object[] { 1 }));
299
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamIAsyncEnumerableCount", new object[] { 1 }));
308
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamIAsyncEnumerableCountCompletedTask", new object[] { 1 }));
317
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamChannelReaderCount", new object[] { 1000 }));
326
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamIAsyncEnumerableCount", new object[] { 1000 }));
335
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamInvocationMessage("123", "StreamIAsyncEnumerableCountCompletedTask", new object[] { 1000 }));
344
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStream), Array.Empty<object>(), streamIds: new string[] { "1" }));
345
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamItemMessage("1", "test"));
346
await
_dispatcher
.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1"));
355
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStreamIAsynEnumerable), Array.Empty<object>(), streamIds: new string[] { "1" }));
356
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamItemMessage("1", "test"));
357
await
_dispatcher
.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1"));
366
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStream), Array.Empty<object>(), streamIds: new string[] { "1" }));
369
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamItemMessage("1", "test"));
371
await
_dispatcher
.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1"));
380
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new InvocationMessage("123", nameof(TestHub.UploadStreamIAsynEnumerable), Array.Empty<object>(), streamIds: new string[] { "1" }));
383
await
_dispatcher
.DispatchMessageAsync(_connectionContext, new StreamItemMessage("1", "test"));
385
await
_dispatcher
.DispatchMessageAsync(_connectionContext, CompletionMessage.Empty("1"));