Performance problem debugging application in VS 2008 (and VS 2005 sort of)

Last post 01-11-2008 4:51 AM by stuckish. 1 replies.

Sort Posts:

  • Performance problem debugging application in VS 2008 (and VS 2005 sort of)

    12-07-2007, 8:05 AM
    • Member
      45 point Member
    • stuckish
    • Member since 07-01-2002, 11:18 PM
    • Sweden
    • Posts 30

    Since we installed VS 2008 RTM on our machines we have noticed that debugging the project has become really slow. When we do a F5 debug it takes minutes before the page show up in the browser. The strange thing is that it seems to be slow on all machines that has VS 2008 installed. If I open the exact same solution (with different sln file) on a machine that has never seen VS 2008 it is much faster.

    It is a ”Web Application Project” that was originally created as a “Web Project”.  We converted it to a “Web Application Project” almost as soon as it was released. We did that because we had kind of severe performance problems and it was a huge different to convert to a “Web Application Project”. The targeted framework here is 2.0. But we have the same performance problems when we running against our new branch that is targeted against 3.5. We use AJAX and AjaxControlToolkit if that is important. We have upgraded to use the latest version of Ajax in the "3.5" branch that we has. We also have the latest version of AjaxControlToolkit. Need more info?

    I have checked the output dialog and it is when VS is loading symbols for our own assemblies that it is slow. In VS 2005 (Without VS 2008 installed) it takes maybe half a second for each of these and in VS 2008 it can take up to 5-10 sec for each ..

    'WebDev.WebServer.EXE' (Managed): Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\768fb34a\3658d9d9\App_Web_qttnawpa.dll', Symbols loaded.
    'WebDev.WebServer.EXE' (Managed): Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\768fb34a\3658d9d9\App_Web_2qyxziwo.dll', Symbols loaded.
    'WebDev.WebServer.EXE' (Managed): Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\768fb34a\3658d9d9\App_Web_bwxs6exr.dll', Symbols loaded.
    'WebDev.WebServer.EXE' (Managed): Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\768fb34a\3658d9d9\App_Web_0gslqlmk.dll', Symbols loaded.
    'WebDev.WebServer.EXE' (Managed): Loaded 'C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\768fb34a\3658d9d9\App_Web_3h2gr-e2.dll', Symbols loaded.

    We have no idea how to continue with this problem?

    I have made some highly unscientific measurements here. What I done is to first compile it, then just removed one empty line in one of our code-behind files. Then press F5 again ..

    VS 2005 (Without VS 2008 installed) - 40 sec
    VS 2005 (With VS 2008 installed) - 1 min 36 sec
    VS 2008 (Different solution file but same project) - 1 min 18 sec

    I also tested to make a change to the markup in a file while the project was running and hit F5 in the browser and also got some significant results ..

    VS 2005 (Without 2008) - 11 sec
    VS 2005 (With 2008) - 51 sec
    VS 2008 - 38 sec

    Note!
    -    I should mention that we did not experience any of these problems when we used VS 2008 BETA 2.
    -    Both the machine with VS 2008 installed has never had any VS 2008 beta products installed on it.

    Really grateful for all the help we can get, as you understand this is kind of frustrating ;)

    Br, Ola 

  • Re: Performance problem debugging application in VS 2008 (and VS 2005 sort of)

    01-11-2008, 4:51 AM
    • Member
      45 point Member
    • stuckish
    • Member since 07-01-2002, 11:18 PM
    • Sweden
    • Posts 30

    There is a solution for this now in another thread.

    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2495204&SiteID=1&mode=1

     

Page 1 of 1 (2 items)