Use Performance Tool integrated with visual studio

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.

 

posted on 2010-04-29 13:22  刘宁Toby  阅读(318)  评论(0编辑  收藏  举报