Поделиться через


How to: Use Performance Wizard

You can use the Performance Wizard to create a performance session. A performance session can be created with or without opening a project in Visual Studio. For more information, see Performance Session Overview and How to: Launch and End Performance Sessions.

To create a performance session for an open project

  1. On the Tools menu, point to Performance Tools, and then click Performance Wizard.

  2. From the Which of the following available targets would you like to profile? drop-down list, select the name of the application you want to profile, and then click Next.

  3. Choose Sampling or Instrumentation to specify a profiling method, and then click Next.

    For more information about sampling and instrumentation, see Guidelines for Using Performance Tools.

  4. Click Finish.

To create a performance session without opening a project

  1. Start Visual Studio.

  2. On the Tools menu, point to Performance Tools, and then click Performance Wizard.

  3. From the Available targets drop-down list, select appropriate target (EXE, DLL, ASP.NET), and then click Next.

  4. Specify the full path of the target and options, or the local URL that will run the application, and then click Next.

  5. Choose Sampling or Instrumentation to specify a profiling method, and then click Next.

  6. Click Finish.

See Also

Concepts

Guidelines for Using Performance Tools