Team System Developer Center > Visual Studio Team System Forums > Visual Studio Performance Tools (Profiler) > Visual Studio 2008 Profiler - possible to save a performance Session?
Ask a questionAsk a question
 

AnswerVisual Studio 2008 Profiler - possible to save a performance Session?

  • Tuesday, October 27, 2009 1:19 PMElizabeth_Zelasky Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    This is a seemly simple question - once I get a performance session setup, how do I save and reload the next time I wish to use it?  I am working on profiling an application that loads many binaries and I also am generating many reports.  It would be nice not to have to set up each time I reopen visual studio.  thanks.

Answers

  • Tuesday, October 27, 2009 6:45 PMNing Li Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    If you select on the performance session inside the Performance Explorer, you can then click the Save button on the toolbar to save the session as a .psess file. Also when you close the solution, VS may ask if you want to save changes for the .psess file. The session file will be saved if you click Yes. Then you can add the .psess file as a "Solution Item". Next time when you open the solution, you can just double-click the .psess file to open the performance session.

All Replies

  • Tuesday, October 27, 2009 6:45 PMNing Li Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    If you select on the performance session inside the Performance Explorer, you can then click the Save button on the toolbar to save the session as a .psess file. Also when you close the solution, VS may ask if you want to save changes for the .psess file. The session file will be saved if you click Yes. Then you can add the .psess file as a "Solution Item". Next time when you open the solution, you can just double-click the .psess file to open the performance session.

  • Tuesday, October 27, 2009 7:04 PMChris SchmichMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Also note that we have improved this behavior in Visual Studio 2010.  We now associate the performance session with your solution when it gets created.  This way, if you save your solution, the performance session is automatically opened when you reload your solution.

    Regards,
    Chris