Microsoft Developer Network > Domovská stránka fór > Getting Started With Visual Studio Team System > TFS custom report on CODE PROFILING through Team build 2005
Odeslat dotazOdeslat dotaz
 

OdpovědětTFS custom report on CODE PROFILING through Team build 2005

Odpovědi

  • 14. července 2008 10:17Bill.WangMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět

    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.

Všechny reakce

  • 14. července 2008 10:17Bill.WangMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     Odpovědět

    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.