Bug Report T674277
Visible to All Users

Performance - The NGEN performance improvement notification is not displayed

created 6 years ago

Hi,

I would like to NGEN my CodeRush as suggested in your posting for the new CodeRush version (https://www.devexpress.com/products/coderush/coderush-for-roslyn-whats-new.xml).

I do not see the NGEN window in my Visual Studio Enterprise 2017 v. 15.8.4, as shown in your posting.

Do I have to do anything to see this option?

Thanks for your support.

Eduardo Quintana

Show previous comments (23)
EQ EQ
Eduardo Quintana 6 years ago

    I restarted VS several times, for other reasons, but only 10 DLL are native so far. It has been some time since I have followed your procedure, so I dont'  think this number will increase any time soon.

    Eduardo Quintana

    EQ EQ
    Eduardo Quintana 6 years ago

      I removed the xml file again and restarted VS. I chose the always NGen option (the middle one) and waited patiently for the NGen Icon to process the files.

      Then, I restarted VS once again. This time only 8 dll where native.

      I'm about to give up. I spent to much time trying to make this feature work. It has been frustrating.

      When you have a version that works all the time I will try again.

      Thanks for you support.

      Eduardo Quintan

      AE AE
      Alex Eg (DevExpress) 6 years ago

        Hello Eduardo,
        Since the original issue is resolved and the suggestion to use NGen is shown as expected now, I've created a separate ticket on your behalf (CodeRush assemblies cannot be loaded from native images after NGen). It has been placed in our processing queue and will be answered shortly.

        Answers approved by DevExpress Support

        created 6 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.

          created 6 years ago

          Alex, Eduardo,
          Thank you for your feedback on the hotfix. Since the suggestion to compile native images is shown now, we will mark this issue as fixed. We will continue working on this feature and improve the number of assemblies, which are loading from the native images.

            Comments (3)
            EQ EQ
            Eduardo Quintana 6 years ago

              Sorry, Alex, but this is really not the case.

              I tried to execute the NGen program called from the CodeRush menu, but it did not worked as expected. Only five dll are now native, despite all my efforts.

              I understand that this functionality is not working yet and needs a good review by DevExpress.

              I like your support and your products, so much so, that all the products I develop are 100% based on your DXperience suite, for more than a decade. But, I cannot agree that this functionality is working. It is not ready yet. Sorry.

              Eduardo Quintana

              EQ EQ
              Eduardo Quintana 6 years ago

                Obviously, the DXperience Suite did not exit a decade ago, but I have been using DevExpress products (predecessors to the DXperience Suite) since 2001!

                I consider 5 DLLs processed an insignificant percentage of the CodeRush DLLs. Also, you showed in your blog site close to 90% of the CodeRush DLLs as native.

                Incidentally, I would like to ask you to send me a batch file to run the NGen on all CodeRush DLLs that support it. So I would be able to take advantage of this technology to speed up CodeRush in the VS.

                Thanks,

                Eduardo Quintana

                AE AE
                Alex Eg (DevExpress) 6 years ago

                  Eduardo,
                  As I previously mentioned in my comment, I have registered the following ticket on your behalf to research the issue in detail:
                  CodeRush assemblies cannot be loaded from native images after NGen
                  Mixing two different issues in one ticket is not productive, so let's continue discussion there.

                  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.