I need to analyze the Performance overhead of my programmed logic using C# debugger. So I need to compare two logics in my code. I dont want to install any add-ons like Analyze into my VisualStudio. I want to analyze the module by writing special functions. Do we have any such predefined functions available in C# ?
I need all the options available for testing a module for being GOOD(by good i mean it takes shortest time to execute)
FYI I use VisualStudio 2010 Professional edition.
I need to analyze the Performance overhead of my programmed logic using C# debugger.
Share
If you just want to measure the time a function needs to execute, you can use the Stopwatch class.
Sample: