[Mono-dev] COM Interop Performance Patch

Jonathan Chambers joncham at gmail.com
Thu Jun 21 16:38:21 EDT 2007


Hello,
     Attached is a patch that removes the managed transition (and object
creation) when getting a COM Interface from a runtime callable wrapper. This
makes mono COM Interop about 2.5 times slower than MS (an improvement from
10x slower). I also implemented/consolidate the code for
Marshal.ThrowExceptionForHR and Marshal.GetExceptionForHR.

Please review.

Thanks,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070621/315650f1/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cominterop_performance.diff
Type: text/x-patch
Size: 19169 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20070621/315650f1/attachment.bin 


More information about the Mono-devel-list mailing list