Click here to Skip to main content
14,331,865 members
Rate this:
Please Sign up or sign in to vote.
After I finished a program,I run it ,But found it's so slow. Using vs2008,How can I Have a Tool to find the bottleneck of the performance in which function or class.Then I can improve it.
Any suggestoin? Free tool and lightweight is better!
Posted
Updated 9-Mar-18 4:58am
Rate this:
Please Sign up or sign in to vote.

Solution 1

I Used ANTS performance profiler , it is a very robust tool. It will be integated with VS2008 IDE so it is very easy to use. The only downside is it is not free, but you can download 14 days trail version. http://www.red-gate.com/products/dotnet-development/ants-performance-profiler/[^]
   
Comments
jiazhiqiang 16-Apr-12 5:22am
   
Is suited for pure C++ program?
Rate this:
Please Sign up or sign in to vote.

Solution 2

Please see this free profiler
http://www.eqatec.com/tools/profiler/[^]
I think this may also be helpful.
   
Comments
jiazhiqiang 16-Apr-12 5:26am
   
Is suited for pure C++ program?
Rate this:
Please Sign up or sign in to vote.

Solution 3

A good way to find the bottlenecks is to comment out some functions and play around to find the problematic code. Often is it only one or two badly implemented pieces of code like disk or database access, wait timers or computations of strings. Sometimes a bit of caching helps.

Normally when this functions are indentified it is easy to solve it. Some years ago I had some string array computation which I heritaged from a collegue. After implementing it as BYTE array it run like jet ;-)
   
Comments
Richard Deeming 9-Mar-18 13:16pm
   
Only six years late! :P

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100