Re: CCW overheads
From: Mattias Sjögren (mattias.dont.want.spam_at_mvps.org)
Date: 02/19/04
- Next message: Anonymous: "COM Class Vs. Sn.exe, Gacutil.exe, Regasm.exe"
- Previous message: Mattias Sjögren: "Re: Problem calling SendMessage passing FindText structure"
- In reply to: mrjollyrogers: "CCW overheads"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 19 Feb 2004 22:18:51 +0100
Jack,
It's impossible to say with only that information if COM interop
overhead will be an issue or not for you. It all depends on how many
calls you make, how often and how much data that has to be marshaled
each time.
The only way to tell is to measure it.
There are of course ways you can improve performance. The main
recommendation is to use "chunky" (few calls, as much data as possible
each time) rather than "chatty" interfaces (many calls, few or no
arguments - property accessors for example).
Mattias
-- Mattias Sjögren [MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup.
- Next message: Anonymous: "COM Class Vs. Sn.exe, Gacutil.exe, Regasm.exe"
- Previous message: Mattias Sjögren: "Re: Problem calling SendMessage passing FindText structure"
- In reply to: mrjollyrogers: "CCW overheads"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading