.NET PInvokes are faster than C calls

Announcements and discussion for PInvoke

.NET PInvokes are faster than C calls

Postby madhuri » Fri Sep 04, 2009 10: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?
Posts: 1
Joined: Fri Sep 04, 2009 10:09 am

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

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

Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests