Click here to Skip to main content
15,886,766 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

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/[^]
 
Share this answer
 
Comments
jiazhiqiang 16-Apr-12 5:22am    
Is suited for pure C++ program?
Please see this free profiler
http://www.eqatec.com/tools/profiler/[^]
I think this may also be helpful.
 
Share this answer
 
Comments
jiazhiqiang 16-Apr-12 5:26am    
Is suited for pure C++ program?
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 ;-)
 
Share this answer
 
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900