void Grpc.Core.Tests.PInvokeTest.CompletionQueueCreateDestroyBenchmark |
( |
| ) |
|
|
inline |
void Grpc.Core.Tests.PInvokeTest.NativeCallbackBenchmark |
( |
| ) |
|
|
inline |
Approximate results: (~80ns Mono Linux) (~110ns .NET Windows)
void Grpc.Core.Tests.PInvokeTest.NewNativeCallbackBenchmark |
( |
| ) |
|
|
inline |
Creating a new native-to-managed callback has significant overhead compared to using an existing one. We need to be aware of this. (~50us on Mono Linux!!!) (~1.1us on .NET Windows)
void Grpc.Core.Tests.PInvokeTest.NopPInvokeBenchmark |
( |
| ) |
|
|
inline |
Tests overhead of a simple PInvoke call. (~46ns .NET Windows)
The documentation for this class was generated from the following file:
- src/csharp/Grpc.Core.Tests/PInvokeTest.cs