Ticket T719697
Visible to All Users
Duplicate

We have closed this ticket because another page addresses its subject:

FAQ: How to measure and improve application performance

Ways to speed up the application startup

created 6 years ago

Hi

I develop an application with has about 100 BO's and about 100 controllers.
I think, that's the reason why the setup-methods takes about 10 seconds to finish on the application start.

Is there a way to speed-up this method? Because a complete starting time of about 12 seconds is just too slow for our business task.

The reason is the following:
The application is splitted in different responsibilities and each of them has its own call.
So, some user have rights on multiple responsibilities and they will open the application several times with different parameters.

Now, it's a little bit annoying, when you have to wait over 10 seconds after every start .
Or you made a wrong click and waiting only to close the application after start.

Any ideas to improve this?

btw: I already checked the database-calls; they are very fast and there is nothing to improve.

Answers approved by DevExpress Support

created 6 years ago (modified 6 years ago)

Hello Martin,

I suggest you implement all the solutions from the "3. Speeding up the application startup" section of How to measure and improve the application's performance. NGen will bring the most noticeable speed improvements. Anyway, we look forward to hearing from you about each option and its gain for your app.

    Show previous comments (11)
    M M
    Martin Praxmarer - DevExpress MVP 6 years ago

      Note that you do not need to enable any Option in 19.1.3 as all are On by default. I think the example provided in the link is a bit confusing as it demonstrates how to turn OFF all optimizations

      MI MI
      Martin_Inderbitzin 6 years ago

        Hi Martin

        I noticed that, yes. I just set the options to true to be sure that they are enabled.

        Dennis Garavsky (DevExpress) 6 years ago

          @Martin_Inderbitzin: Thank you for sharing. We will await your further results related to database and connectivity - thanks in advance!
          If you use DXSplashScreen, you can get additional benefits from WinApplication.RunSetupInNewThread.
          Note that with custom ISplash implementations, the WinApplication.Setup method will NOT run in a separate thread; the logon and main form templates will NOT be pre-built. We will update our support materials so that more users are aware of this.

          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.