VSTS Profiler
![]() | This article needs to be updated.(November 2010) |
Visual Studio Team System Profiler is a commercial profiler offered by Microsoft, available as part of the Visual Studio Team System (VSTS) suite and the Development Edition of Visual Studio.[1] It can work either in sampling mode, in which the snapshot of the program state is recorded at certain intervals, or in instrumentation mode, where statistic gathering probes are injected at entry and exit point of functions.[2] While the instrumentation mode allows more accurate statistics to be gathered, it also makes the program run more slowly while being profiled.
The VSTS profiler helps to optimize performance of code targeted for the .NET platform or natively compiled Visual C++ code. Modern versions of the VSTS profiler can be used to profile both 32-bit and 64-bit Windows programs. The profiler reports performance characteristics for methods which are called during a given run of the profiler including the number of calls to the function and the call stack when the function was called.
From within the profiler, the application is launched and executed normally for a period of time. When the user decides to exit the program, the profiler gives a summary of the number of times that each function was called, the elapsed time of each function, and the memory consumed by objects.
A standalone version of the VSTS profiler can also be installed from the Visual Studio Team System DVD, and is also available for download on the Microsoft website. While the standalone profiler can be installed or used on any platform, the results it collects can only be analyzed in a version of Visual Studio which includes the profiler.
References
- ^ "Visual Studio Team System 2008 - Software Testing and Collaboration Tools". Retrieved 2009-06-16.
- ^ Ian Huff. "TN_1210: Using the performance explorer". Retrieved 2007-09-25.
External links
- Visual Studio Profiler Team Blog
- Analyzing Application Performance (MSDN)
- Using the performance explorer
- Using the Visual Studio Team System Profiler: Function View, Caller / Callee View and Calltree View
- Using the Visual Studio Team System Profiler: Object Allocation and Object Lifetime views
- Visual Studio 2008 Service Pack 1 Stand-Alone Profiler (download)