Bug Report T485965
Visible to All Users

General - Performance issues when typing in large unit tests files

created 8 years ago

Not sure what the latest version introduced, but I have some large unit test files (40k lines) that have become unusable with CRR 16.2.5. I can't even type comments without 10-15 seconds between letters appearing on my screen. Without doing anything productive and only having the file open and clicking around inside of VS has my process steadily using 35% of my processor and memory usage spikes to 2gb where previously it would be around 1.1gb.

When I roll back to 16.2.4 and turn off auto-updating then speed is good. I want to upgrade to 16.2.5 because it resolves obnoxious issues with the DeclareProvider and doing any kind of real work. (I end up turning that off, but then my frequently used quick actions don't get sorted to the top.)

Is there something I can do to help diagnose the speed hit? It's instant and very noticeable. It only seems to happen in large files, though. Standard code files seem okay so far.

Comments (1)
DevExpress Support Team 8 years ago

    Hi Jason,
    I have managed to reproduce the issue. Please give us some time to research the issue in detail.

    Answers approved by DevExpress Support

    created 8 years ago (modified 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.

    Additional information:

    Jason, we have fixed a few issues with slow typing in large unit test files.
    Please install CodeRush v16.2.6 from marketplace and confirm that the issue is gone in your project.
    We are looking forward to hearing of your results.

      Comments (2)

        The update works. I can type in the file again. :)

        DevExpress Support Team 8 years ago

          Hi Jason,
          I am happy to hear that this problem has been resolved.

          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.