Performance - Using .Net and COM

added by flyingkick
2/7/2012 3:49:50 AM

0 Kicks, 49 Views

Yesterday I was given a task to help improve the performance of a feature. I was told that the feature was written in a very straight forward way, nearly no optimizations taken. The problem was that it took several minutes (yes, minutes) to run, rather than a few seconds or better than that.


2/7/2012 10:37:06 AM
Instantiating anything in a tight loop is generally bad for performance. Is that what was happening here? COM objects were being created and destroyed in a tight loop?