Profiling with MS Visual Studio Tools

Introduction
Profiling tools are used to make programs run more efficiently. These tools provide significant information as to which parts of the program are running slowly or use a lot of memory. Microsoft Visual Studio offers both a command line interface and a user-friendly graphical environment to help optimize and improve the existing code. The profiler can analyze the execution of a code at two levels of detail: function calls and individual lines of code. The data gathered can be visualized with MS Visual Studio or stored in text files for later analysis.

Prerequisites: