Bug Report T924268
Visible to All Users

Performance - CodeRush causes typing slowdowns after opening a solution

created 5 years ago

Over the last two weeks I've been getting the yellow banner in Visual Studio stating We've noticed the extension 'CodeRush' is slowing typing performance. Now it seems to happen several times a day and I think it primarily occurs when I'm typing in XAML. Attached are my CodeRush log files from an execution where this occurred. It appears that at least on my machine, exceptions are being thrown.

Machine specs: Core i9-9900K, 32 GB RAM, 970 EVO SSD, GTX 1060, Windows 10 Enterprise v2004 (build 19041.450)

Thanks

Show previous comments (14)
AE AE
Alex Eg (DevExpress) 4 years ago

    Hi Adam,
    In your logs we found that significant time is consumed when we call the Type.GetType method to create types using .net reflection. In some cases this forces assemblies to additionally load - this was the source of delays. We changed the logic of using .net reflection, and now our internal tests show that the issue is gone.
    Please install the following build and share your results with us:
    http://downloads.devexpress.com/Share/IDE/200831/DevExpress.CodeRush-20.1.6.20244.exe

      Excellent, that makes sense. With this internal build I'm unable to reproduce the problem (no real lag and no yellow banner). Now, it appears the first character entry is much quicker (less than half a second) versus the >3000ms I was getting. I think you found the culprit, thank you.

      AE AE
      Alex Eg (DevExpress) 4 years ago

        Hi Adam,
        Thank you for the update! Your active cooperation helps us to find the cause of the issue and fix it!

        Answers approved by DevExpress Support

        created 4 years ago

        We have addressed the issue described in this ticket and will include a fix in our next maintenance update. To apply this solution before official release, request a hotfix by clicking the appropriate version link.

        Note: Hotfixes may be unavailable for betas/updates set for release within a week.

          Comments (2)
          DS DS
          Dharminder Shinh 4 years ago

            I'm also having this problem. Typing is just horrendously slow, where can I request a hotfix or is release of 20.1.7 imminent?

            DevExpress Support Team 4 years ago

              Hi,

              Currently, we are testing CodeRush 20.1.7, so hotfixes are unavailable for this version. You can download a build with a fix at the following links:

              DevExpress.CodeRush-20.1.6.20244.vsix
              DevExpress.CodeRush-20.1.6.20244.exe

              Please let us know whether this build solves the issue.

              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.