What can be done to improve performance in IIS? When I deploy my webapplication to my local IIS machine it goes much slower than when I run the solution in visual studio without debugging. The difference is remarkable, like double as fast.
Some things I can think of -
Check your processor usage and memory usage - this can be extremely important.
check if Gzip compression is enabled - enabling this on an already overloaded CPU can further degrade performance. However over network this will save you bandwidth, so its a good option to enable when processor is not overloaded
Is this on the same machine or different machines? If your build machine is less capable than your development machine (which is sometimes the case) that could add to the problem
Also have you considered the initial compile time for the websites? At least the first page load in local IIS will be somewhat slower because of the initial compilation that takes place on request of the page. In Visual studio, you will see this separately as a build step and this could also create an illusion of VS dev server being faster than IIS.