04 December 2011

Mempercepat Visual Studio Run/Build

Gilak, kenapa ga dari dulu nyari tips ini, dengan pasrahnya menunggu beberapa menit setiap running build atau debugging di visual studio.

Akhirnya malam ini berhubung sudah puncaknya kesal, segala monitor dijalanin resource monitor lah, performance monitor lah dan process monitor, ternyataaa... penyebab utama lambatnya itu adalah antivirus, antivirus microsoft security essential yang saya gunakan, sangat teliti, segala file yang terlibat di buka dan di scan oleh dia, bagus sih, tapi untuk harddisk ukuran besar saya yang rpm nya cuma 5400 ini bikin frustasi namanya...

Selain itu, saya mencari tips lain dari situs stack overflow, tips dari sini, lumayan paten untuk mempercepat proses build/debug, dari 1 menitan turun menjadi 5-10 detik saja, kutipan tips dari stack overflow itu, yang paling berpengaruh saat saya coba :

Here's my list. All of these can be accessed on Tools->Options menu:
  1. Disable F1. (Environment->Keyboard) This is probably the best advice that I found somewhere.
  2. Disable "Animate environment tools" (Environment->General).
  3. Disable Start Page (Environment->Startup).
  4. Disable "Track Active Item in Solution Explorer" (Projects and Solutions).
  5. Disable Navigation Bar (Text Editor->C#). I think this is available for every language.
  6. Set "AutoToolboxPopulate" to false (Windows Forms Designer).
  7. You can set the Code view as the default view when viewing Windows Forms. Just right-click on the cs file and select "Open With...".
  8. Open Visual Studio using the command line (devenv) rather than using the Start menu. I don't know why but I notice it loads faster.
  9. Turn off Track Changes. (Text Editor->Track changes)

Pfiewh...  antivirus Microsoft security essential saya matikan, dan saya kembali menggunakan avast!, sejauh ini masih cukup cepat, hanya berbeda beberapa detik dibanding saat tanpa antivirus jalan sama sekali.

No comments:

Post a Comment