.NET PInvokes are faster than C calls

Announcements and discussion for PInvoke

Moderators: Luke Jefferson, Robert

.NET PInvokes are faster than C calls

Postby madhuri » Fri Sep 04, 2009 11:16 am

I don't know if this is a relevant topic here,but i thought I'll give it a shot:
I have .NET API which call into C API using PInvokes.We conducted performance tests on both , and the .NET API are actually faster.
Assuming the performance metrics/environment is not biased,is there any sane explanation for this?
madhuri
 
Posts: 1
Joined: Fri Sep 04, 2009 11:09 am

Postby Chris.Allen » Mon Sep 07, 2009 3:15 pm

Which calls? If its simple enough, I'll test again and give a second opinion.
Chris.Allen
 
Posts: 594
Joined: Thu Mar 12, 2009 4:17 pm


Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests