I'm experiencing a very severe performance issue with VS2015. We have recently moved to VS2015 from VS2013 for our project. I am finding that very often (not 100% consistent) I am getting 50-90% CPU usage on idle when our ASP.NET MVC project is open.
Here's a typical CPU usage scenario:
VS2013
- App launch with opening of our project - CPU usage ~50-90%
- After around 10-15 seconds - CPU usage ~0-5% and stays there
- App close - CPU usage decreases and goes to 0 as app is closed
VS2015
- App launch with opening of our project - CPU usage ~50-90%
- After around 10-15 seconds - CPU usage ~50-90% and stays there
- App close - CPU usage stays at ~50-90% mark and often just hands there. Closing the app is sometimes unsuccessful, with VS2015 giving an "Error Encountered" on close, forcing us to use Task Manager to kill the process.
We are using Pro for both 2013 and 2015. Extensions used are StyleCop, ReSharper 9.2 and Productivity Power Tools (for Column guides only). The extensions are the same for both 2013 and 2015. We have tried uninstalling/disabling the extensions with no performance improvement. The issue is present for a couple of our developers, but not all...
System Config * MacBook Pro with Windows 10 running in Bootcamp
Fixes attempted
- Disable Git source control provider - no performance change
- Disable ReSharper/StyleCop - slight performance improvement, but idle CPU usage issue remains
- Update VS2015 to Update 1 - no performance improvement
- Upgrade from Windows 8.1 to Windows 10 (unrelated to the actual performance issue) - no performance improvement
- Re-install of VS2015 - no performance improvement
- Disable antivirus (in case it somehow was getting upset with the configuration) - no performance improvement
- Unload some of the solution projects - inconsistent performance improvement. It looks like when the non-UI projects are loaded, the performance issue is not present. Once we load 1 of the 2 UI projects, the issue has a 50/50 chance of occurring. Once both projects are loaded, the issue has about 90% chance of occurring. So this is pointing to the UI projects being the culprits, but there is nothing special about those projects - a bunch of controllers and views with some UI util classes along with .css and .js libraries. This change in performance is only present in VS2015 - VS2013 is perfectly happy with all projects. Another point going against the UI projects being to blame is that another WinForms solution which is small in size is having the exact same performance issue in VS2015, while a larger ASP.NET solution is perfectly fine :(
We are trying to move to C# 6.0 and as VS2013 is not supporting that, this is causing us quite a bit of grief..
Any thoughts or advice? Thanks!