Improving startup time - force cold start

Hi,

I want to work on one of my application's start up performance and to effectively do that I want to force a cold start everytime I start it to find out what takes really long the first time it starts. So how can I force windows to dump all the prejitted code that it generates the first time the application starts so it has to prejit again after the first start.
Also, I was wondering what other techniques people use to find out what takes really long the first time the application starts and where one should start looking for bottlenecks

Thanks,

Tom


Answer this question

Improving startup time - force cold start

  • Lakusha_

    I think this article from msdn-magazine could be interesting for you:

    http://msdn.microsoft.com/msdnmag/issues/06/03/WindowsFormsPerformance/

    ralph



  • Michin1

    Way back in my memory cells, Microsoft distributed a "Stress test" app with their SDK. Icon looked like an elephant on a trampoline (cute!). Closest thing I can find back: http://msdn.microsoft.com/msdnmag/issues/06/05/TestRun/default.aspx



  • MTaqi

    thanks I had already read that. However, it doesn't help me with my question on how to "force" a cold start-up without having to reboot my machine every time I change something in the code.

  • Improving startup time - force cold start