gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Public Member Functions | List of all members
Grpc.Core.Tests.PInvokeTest Class Reference

Public Member Functions

void Init ()
 
void Cleanup ()
 
void CompletionQueueCreateDestroyBenchmark ()
 (~1.26us .NET Windows) More...
 
void NativeCallbackBenchmark ()
 Approximate results: (~80ns Mono Linux) (~110ns .NET Windows) More...
 
void NewNativeCallbackBenchmark ()
 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) More...
 
void NopPInvokeBenchmark ()
 Tests overhead of a simple PInvoke call. (~46ns .NET Windows) More...
 

Member Function Documentation

void Grpc.Core.Tests.PInvokeTest.CompletionQueueCreateDestroyBenchmark ( )
inline

(~1.26us .NET Windows)

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: