Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
You can use performance tools from within the IDE or from a command prompt. The steps listed below show you how to use sampling method from a command prompt
Note
Command-line tools are located in C:\Program Files\Microsoft Visual Studio 8\Team Tools\Performance Tools> directory.
Sampling application using command-line tool
Open a command line window. At the command prompt, run the following command to start VSPerfCmd:
C:\<path>vsperfcmd -start:sample -output:c:\<path>report_name
At the command prompt, run the following command to launch your application:
C:\<path>vsperfcmd -launch:application_name
Run application's scenarios to generate data.
Exit the application.
At the command prompt, run the following command to shutdown VSPerfCmd:
c:\<path>vsperfcmd -shutdown
A report, report_name.VSP, is created in the directory specified in step 1. Open this report in Visual Studio to determine performance problems.