Click to See Complete Forum and Search --> : Time performanc of unmanaged C++ DLL


Talif
May 28th, 2003, 04:50 AM
Hello,
I have an unmanaged C++ DLL, wrapping a 3rd party SDK.
When I call it from unmanage code, say a C++ executble the time it takes to perform is, say, X.
When I call it from a C# program, the time is 160% of X, i.e. 60 % overhead.
Id this reasonable?
How can I eliminate or at least improve this, since I NEED to call it from C#.
Thanks
Tali

pareshgh
June 26th, 2003, 07:21 PM
well that overhead, really depends upon how you have designed your program.
are you allocating memory ?
what type of processing it is doing.?

etc.

Paresh