Bug Report T435128
Visible to All Users

General - Visual Studio's editor slows down in combination with CodeRush Roslyn and StyleCop.Analyzers

created 8 years ago (modified 8 years ago)

I've found in the last few days that CodeRush for Roslyn in combination with StyleCop.Analyzers (nuget version) cause a painfull slowdown in VS2015 after ~1h of working on a mid-size solution.

CodeRush alone works fine, and StyleCop.Analyzers works also fine. But in combination, the editor is so slow, that i see a real painfull delay between keyboard inputs.

It feals like a 0.5-1sec between a keypress…
Also Intellisense is delayed.

Kind regards
Silvio

Show previous comments (4)

    Update for New Build, SpellChecker enabled and StyleCop.Analyzers(nuget) removed

    The slowdown is noticeable, but very weak on my machine. Maybe it's the pure number of analyzers?
    I have StyleCop.Analyzers and Refactoring Essentials (both as nuget) included in my project.
    With all this stuff enabled and SpellChecker turned on it's impossible to work, because the keyboard delay is so big.

    I will continue with build 16.1.7.16278 and disable the SpellChecker.

    Thanks
    Silvio

    DevExpress Support Team 8 years ago

      Hi Silvio,

      Thank you for the detailed explanation of your experience with build 16.1.7.16278. It confirms our assumption about the cause of the Visual Studio slowdowns on your side. In your provided PerfView log files, we also see that the Spell Checker code analysis takes a lot of time when CPU loading is active. As I mentioned earlier, the release 16.1.7 build has an issue with full disabling of the Spell Checker feature. It explains why the slowdowns persist even when Spell Checker is turned off.

      This issue has high priority for us and we will try to resolve it as soon as possible. We greatly appreciate your patience.

      DevExpress Support Team 8 years ago

        Hi Silvio,

        Thank you for your patience. We have found the cause of the slowdown with enabled Spell Checker on projects that use additional analyzers. We have resolved the issue and prepared the hotfix with these changes: DevExpress.CodeRush.Roslyn-16.1.9.16344.vsix. We would greatly appreciate it if you install this build, enable the CodeRush Spell Checker feature and check whether it resolves the issue with slowdowns on your side.

        Answers approved by DevExpress Support

        created 8 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.