madskristensen / WebEssentials2013

Visual Studio extension
http://vswebessentials.com
Other
944 stars 252 forks source link

Update 3 Super Laggy after WE install. #1491

Open polygit opened 10 years ago

polygit commented 10 years ago

http://stackoverflow.com/questions/25774054/web-essentials-for-vs2013-update-3-is-extremely-laggy

Just updated to Update 3 along with WE. Now my solution is unusable when debugging. This is my only extension. If I uninstall Web Essentials, the freezing stops.

madskristensen commented 10 years ago

Can you please be more specific? What are you debugging - C#, JS or...? Can you please upload a repro project if possible?

Barryrowe commented 10 years ago

I am seeing the same thing. The project I'm running is an MVC 4 project, with C# settings, but is mostly JS interacting with a few controllers. I can't upload the project as it's an internal company application, but can answer any questions regarding other project settings.

This only occurs while running/debugging the application. VS runs smoothly if the application is not running.

I have 4 fairly small SASS files (.scss)

I have BrowserLink disabled.

polygit commented 10 years ago

Ditto - I can't upload but can answer any questions. Browserlink is disabled, I have a few LESS files. Seems like it freezes up on a consistent interval.

polygit commented 10 years ago

I also just noticed that even with the extension disabled, I get the same behavior, but with it uninstalled, it's fixed. This is confirmed multiple times after restarting VS.

richard-browne commented 10 years ago

Me too. Visual Studio is unusable when debugging. I have to wait 2-5 seconds between every key press. I'm running latest WE nightly. If I disable WE, debugging is fine again.

MVC 5 C# project. Using II Express. I have a few small SASS files (.scss).

I'm running Windows 8.1 with IE 11. I tried debugging with Chrome but no difference. Still micro-freezing.

The fans on my computer fire up when I press F5. CPU usage for devenv.exe stays at around 10-15% as long as I'm debugging.

polygit commented 10 years ago

Reproducible if you download the durandal starter kit on a clean slate and try debugging with WE installed / enabled. http://durandaljs.com/get-started.html

This is making development awfully hairy for our team - do you know how long a fix might take or should we seek alternative tools for the time being?

am11 commented 10 years ago

Guys, does v2.3.5 (nightly) make it better or worse?

Barryrowe commented 10 years ago

I have been unable to test the nightly build. I am running VS2013 Premium Update 3 (Version 12.0.30723.00 Update 3) and get an error when trying to install (2.4 it looks like is the current latest):

this extension is not supported on the current product.

I have also noticed that I only get this slowdown AFTER i have a problem with the extension failing to properly compile SCSS files. Here is the best detail I can give:

  1. Have a project with a main.scss file, everything is acting normally.
  2. Add a _base.scss file with some common variables and @mixins
  3. Save _base.scss (get an error about not being able to compile, possible syntax error, but it's trying to hit a compiling service at localhost and not getting a response)
  4. Add @import 'base'; to main.scss
  5. see the same errors about failing to compile and possible syntax errors
  6. Close the solution
  7. Close Visual Studio
  8. Open Solution
  9. Alter _base.scss and save (just adding a space or newline is enough)
  10. SCSS hopefully compiles (sometimes I have to restart VS more than once before this works with a valid scss file)
  11. Now my SCSS files are working, but when I'm running/debugging the app, VS is really lagging and almost unusable until I stop the debugger.
madskristensen commented 10 years ago

version 2.4 requires Update 4 RC