#VS2017 – Disable PerfWatson2 to improve Visual Studio performance from the Visual Studio Experience Improvement Program (What?)

Hi !

Next month, this post will be a 7 years old post

[VS2010] 5 tips to improve your IDEs performance

And the truth is that, with the exception of the WinForms option, the other options are still valid. Visual Studio is still an excellent IDE, if you can live with a high RAM usage and warm processor.

Well, thanks to a tweet from RFog referring to a tweet from Enrique Blanco

I learn that to kill the 2nd PerfWatson2.exe instance, which is usually associated with the IDE, you have to unsubscribe from the Visual Studio Experience Program (yes, you have not misread that)

In the StackOverflow post they explain it perfectly

  • From the help menu, select Send Feedback > Settings.
  • In the Visual Studio Experience Improvement Program dialog, select No, I would not like to participate.

I have been a little flipping with this option, although I see the good side: my demos with my crappy surface pro 4 will be much more fluid!

Greetings @ Burlington

El Bruno

References

Advertisements

#VS2017 – Deshabilitar PerfWatson2 para mejorar la performance en Visual Studio desde el programa de mejora de experiencia de usuario (What?)

Buenas!

En un mes se cumplirán 7 años del siguiente post

[VS2010] 5 tips to improve your IDEs performance

Y la verdad es que, salvo la opción de WinForms, las demás opciones siguen siendo válidas. Visual Studio sigue siendo un excelente IDE, si puedes vivir con un consumo alto de RAM y el procesador calentito calentito.

Pues bien, gracias a un tweet de RFog haciendo referencia a un tweet de Enrique Blanco

Me entero que para matar la 2da instancia de PerfWatson2.exe que suele estar asociada al IDE, hay que darse de baja del programa de experiencia de usuario (tal cual, no has leido mal)

En el post de StackOverflow lo explican perfectamente

  • From the help menu, select Send Feedback > Settings.
  • In the Visual Studio Experience Improvement Program dialog, select No, I would not like to participate.

Me he quedado un poco fliping con esta opción, aunque le veo el lado bueno: mis demos con mi crappy surface pro 4 serán mucho mas fluidas!

Saludos @ Burlington

El Bruno

References

VS2017 – Improving the solution load time

Hello!

Today I found another new cool feature in Visual Studio 2017. This one is related to the load time in “big solutions”. I had read about this, but it had not checked this out it and just today, when I saw the following message, had the interest to read about this feature.

clipboard04

Load <Solution Name> faster next time by trying out lightweight Solution Load. Some IDE features and extensions may not be available.

As well explained in this Visual Studio post (link), it is possible to change the default behavior for solution inside Visual Studio options

clipboard05

Or, on overwriting the global settings of the IDE, since the properties of the solution

Clipboard07.jpg

When we enable this “LightWeight Load” mode, Visual Studio will disable some features until we need them for 1st time, and thus the solution will load faster.

For example:

  • The projects are loaded as they are needed.
  • NuGet packages restore is not activated during the build.
  • There is no background solution prebuilt, so the design of XAML view are not available.

The 1st option is related to property already handling Visual Studio from making several versions: “LoadIfNeeded”. On this subject, I already wrote a post a while ago, and in it he reviewed a very useful extension for these scenarios.

Greetings @ Toronto

El Bruno

References

#VS2017 – Mejorando el tiempo de carga en nuestras soluciones

Hola !

Hoy me encuentro con otra novedad en Visual Studio 2017 relacionada con el tiempo de carga de soluciones “grandes”.  Algo había leído al respecto, pero no lo había registrado y recién hoy, cuando vi el siguiente mensaje, tuve la inquietud de volver a leer sobre esta feature.

clipboard04

Load <Solution Name> faster next time by trying out lightweight Solution Load. Some IDE features and extensions may not be available.

Como bien explican en este post de Visual Studio (link), es posible habilitar de manera global el proceso de carga de las soluciones desde las opciones de Visual Studio

clipboard05

O, sobre escriiendo las settings globales del IDE, desde las propiedades de la solución

Clipboard07.jpg

Cuando habilitamos este modo “LightWeight Load”, Visual Studio desactivará algunas funcionalidades hasta que las necesitemos por 1ra vez, y de esta forma la solución se cargará más rápido.

Por ejemplo:

  • Los proyectos se cargan a medida que se necesitan los mismos.
  • No se activa el restore de packages NuGet durante las build.
  • Al no precompilar en background la solución, las vistas de diseño de XAML no están disponibles.

La 1ra opción está relacionada con la propiedad que ya manejaba Visual Studio desde hacer varias versiones : “LoadIfNeeded“. Sobre este tema, ya escribí un post hace un tiempo, y en el mismo repasa una extensión muy útil para estos escenarios.

Saludos @ Toronto

El Bruno

References

#VS2017 – Analyzing the performance impact of extensions, panels, and solutions in Visual Studio IDE

Hello !

A few days ago in my podcast review of Connect 2016, I talked about Visual Studio 2017 new features. One of the features that have caught my attention these days is the ability to analyze the performance of VS2017 IDE when we are using extensions, the use of panels and the Solutions load time.

For example, after a while using VS2017, when I open it I find the following message related to ReSharper.

 

clipboard20

I can see the “extra” time that ReSharper adds to the Visual Studio 2017 load process. At the beginning, it was more than a minute, but after a couple of adjustments I managed to lower that time about 20 seconds.

clipboard22

Another interesting feature is Visual Studio does the same analysis for internal tools like IDE panels such as Team Explorer. In this case, it is detected that it impacts the initial load of Visual Studio because when connecting and refreshing Visual Studio Team Services, it seems that the times are not optimal.

clipboard21

And, what should be the 1st paragraph of this post. The way to access this functionality is through the menu “Help // Manage Visual Studio Performance”

clipboard23

Greetings @ Toronto

El Bruno

Refernces