visual studio 2010 - Very slow debugging ASP.NET MVC 3 project -


i have solution contains 11 projects. main project asp.net mvc. when run project in debug mode (f5), main page of site loaded approximately 2 minutes. note! home page of site login form, there's not lot of sql queries.

interestingly, when run project in without debug mode (ctrl + f5), main page of site loaded in few seconds.

i tried solutions. example, found this solution. unfortunately, unable execute instructions written zeb kimmel.

i glad advice , suggestions.

p.s. have processor intel core 2 duo e6300, 3gb ram, windows 7 (32 bit).

visual studio ide settings

  • go tools - options , set following:
  • projects , solutions - build , run. check "only build startup projects , dependencies on run"

this prevent building projects time!

  • environment – general
  • uncheck "automatically adjust visual experience based on client performance"
  • uncheck "enable rich client visual experience"
  • uncheck "use hardware graphics acceleration if available"
  • intellitrace – general
  • uncheck "enable intellitrace”

this disables specific tracing technology people don't use, adds major overhead.

environment - startup

  • set "at startup" "show empty environment"
  • disable "download content every..."

pc setup

  1. get ssd! use intel ssd caching system, improves our build times 50%. it's motherboards 20gb mata ssd drives, using intel smart response technology (or called rapid storage technology collectively?). have set "maximized" mode, means caches writes reads. suspect, haven't yet tried, pure ssd improve more.
  2. if can't ssd, defragment drives properly. built-in xp 1 might not enough defragment free space if drive has become heavily fragmented @ point! used: auslogics disk defrag.
  3. exclude virus scan on network, work , vs folders.

project specific

  1. unload projects if you're not maintaining them or unlikely affect them in work.

refer links

ways speedup visual studio 2010

http://social.msdn.microsoft.com/forums/vstudio/en-us/09893b7e-8882-49e6-a1df-4b1e0ce82843/tips-for-speeding-up-debugging-stepping-through-code


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -