Red Gate forums :: View topic - .NET PInvokes are faster than C calls
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
PInvoke.Net
PInvoke.Net forum

.NET PInvokes are faster than C calls

Search in PInvoke.Net forum
Post new topic   Reply to topic
Jump to:  
Author Message
madhuri



Joined: 04 Sep 2009
Posts: 1

PostPosted: Fri Sep 04, 2009 11:16 am    Post subject: .NET PInvokes are faster than C calls Reply with quote

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?
Back to top
View user's profile Send private message
Chris.Allen



Joined: 12 Mar 2009
Posts: 591

PostPosted: Mon Sep 07, 2009 3:15 pm    Post subject: Reply with quote

Which calls? If its simple enough, I'll test again and give a second opinion.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group