Visual Studio 2010 or C/C++ performance monitors
I was wondering if there were any tools that allow me to see roughly how long it takes to run through a function or program. Such as it would tell you that your typical merge sort alogrithim ran ~nlogn or took x time per n or to complete. Stuff like that.
It seems like Visual Studio Ultimate and Team has something that does stuff like that for you but I don't have that so look开发者_StackOverflowing for alternatives.
You mean a performance profiler What's the best free C++ profiler for Windows?
Particularly for ASP.Net I have used DevPartner Performance Analysis set of tools, there you can run code and memory analysis, this integrates with Visual Studio 2008. Some well known algorithms are associated with their complexity order, for example:
Bubble, Insertion Selection --> O( n x n )
Quicksort, MergeSort --> O( nlog(n) )
Binsort, Radix --> O(n)
Also, Performance monitor refers to tools for checking the healt of performance counters.
精彩评论