MSDN > フォーラム ホーム > Getting Started With Visual Studio Team System > TFS custom report on CODE PROFILING through Team build 2005
質問する質問する
 

回答済みTFS custom report on CODE PROFILING through Team build 2005

回答

  • 2008年7月14日 10:17Bill.WangMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    Hi Manjunath

     

    Welcome to MSDN forums.

     

    In the team build, source code are complied in the build server. If your performance session requires no user interactions, you can get performance report by extending the team build project file.  The team build project file is extensible, you can add custom tasks or command to it.  And profiler can be invoked from command line.  The following are steps to do this.

     

    1. Install profiler on the build server as described in How to: Install the Stand-Alone Profiler.
    2. Check out the TFSBuild.proj which is the team build project file.
    3. Append command in the following form to run profiler. The <Target> element should be add as child of <Project> element which is the root.

      <Target Name="AfterCompile">

     <Exec Command="" />

     

     <Exec Command="" />

    </Target>

    Commands for running profiler are depending on your scenario, you can reference here. If your performance session are obtained from tests, you may also need to reference MSTest.exe Command-Line Options.

    1. Check in the TFSBuild.proj and queue a build. If everything is correct, performance report will be generated.

すべての返信

  • 2008年7月14日 10:17Bill.WangMSFT, モデレータユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダルユーザーのメダル
     回答済み

    Hi Manjunath

     

    Welcome to MSDN forums.

     

    In the team build, source code are complied in the build server. If your performance session requires no user interactions, you can get performance report by extending the team build project file.  The team build project file is extensible, you can add custom tasks or command to it.  And profiler can be invoked from command line.  The following are steps to do this.

     

    1. Install profiler on the build server as described in How to: Install the Stand-Alone Profiler.
    2. Check out the TFSBuild.proj which is the team build project file.
    3. Append command in the following form to run profiler. The <Target> element should be add as child of <Project> element which is the root.

      <Target Name="AfterCompile">

     <Exec Command="" />

     

     <Exec Command="" />

    </Target>

    Commands for running profiler are depending on your scenario, you can reference here. If your performance session are obtained from tests, you may also need to reference MSTest.exe Command-Line Options.

    1. Check in the TFSBuild.proj and queue a build. If everything is correct, performance report will be generated.