views:

63

answers:

3

In my project I have some code which has been deveoped in VBA and it calls functions from different C# DLLs. currently the performance of the code has been degraded and I am planning to check in which function/dll most of the execution time is spent. Kindly let me if any tool is available to check the same.

+4  A: 

One professional profiler, RedGate ANTS is most helpful.

Chris O
I've tried a bunch of profilers for .NET, ANTS is by far my favorite.
Sam
NewAutoUser
A: 

I have been satisfied with dotTrace

Perpetualcoder
Thanks PepetualCoder
NewAutoUser
A: 

Just run it under the IDE. While it's being slow, just pause it several times and each time look at the call stack. If a significant fraction of time is being spent in dlls, you will easily see the biggest ones, and you will see what they are doing and why. This is an explanation of why it works.

Mike Dunlavey