Forums

XAF Win Application startup performance

Last post 10/23/2008 12:42 PM by Jascha. 5 replies.
Sort Posts: Previous Next
  • Binish Peter

    XAF Win Application startup performance

    10/23/2008 9:52 AM
    • Not Ranked
    • Joined on 1/30/2008
    • Posts 29

    I have ~200 object types and 10 modules , in a P4 , 3GHz  , 2GB RAM   laptop it takes 45 seconds for login screen to appear.

    has anyone faced this issue?.

    when I started with the project it was acceptable (<5seconds) , but when more rules and customization are added this got slow.

    the time taken is in ApplicationModulesManager::LoadModel (50% for UpdateModel and 50% for LoadTypesInfo ).

     

    Thanks
    /Binish
    Filed under:
  • Marco

    Re: XAF Win Application startup performance

    10/23/2008 10:02 AM
    • Top 150 Contributor
    • Joined on 12/12/2007
    • Posts 142

    Peter,

    Does this occur in DebugMode (e.g. do you run from Visual Studio), probably under the Visual Studio Hosting Process, or are you talking about a Release Version?

    As far as I know, by default a Xaf application outputs a lot of trace information. Changing a value in your app.config might help. Try setting the value for eXpressApFramework to 0..

    <system.diagnostics>
       <switches>
          <!-- Use the one of predefined values: 0-Off, 1-Errors, 2-Warnings, 3-Info, 4-Verbose. The default value is 3. -->
    <add name="eXpressAppFramework" value="4" />
          <!--
    <add name="XPO" value="3" />
    -->
       </switches>
      </system.diagnostics>   

    Will you please let us all know the results? Currently, I'm not up to 200 object types yet, although I do have about 15 modules already (I favor separation of concerns)...

    Marco

  • Binish Peter

    Re: XAF Win Application startup performance

    10/23/2008 10:53 AM
    • Not Ranked
    • Joined on 1/30/2008
    • Posts 29

     

    Talking about Release version with Trace = 0

    Thanks
    /Binish
  • Marco

    Re: XAF Win Application startup performance

    10/23/2008 10:58 AM
    • Top 150 Contributor
    • Joined on 12/12/2007
    • Posts 142

    What about your system configuration and OS? (just curious, i'm afraid I don't have a solution for you)...

     

  • Binish Peter

    Re: XAF Win Application startup performance

    10/23/2008 11:14 AM
    • Not Ranked
    • Joined on 1/30/2008
    • Posts 29

     It is not issue with one PC , all PCs have this problem.

     

    OS Name Microsoft Windows XP Professional 
    Version 5.1.2600 Service Pack 2 Build 2600 
    OS Manufacturer Microsoft Corporation 
    System Manufacturer Dell Inc. 
    System Model Precision M4300 
    System Type X86-based PC 
    Processor x86 Family 6 Model 15 Stepping 10 GenuineIntel ~2194 Mhz 
    Processor x86 Family 6 Model 15 Stepping 10 GenuineIntel ~2194 Mhz 
    BIOS Version/Date Dell Inc. A04, 2007-08-08 
    SMBIOS Version 2.4 
    Windows Directory C:\WINDOWS 
    System Directory C:\WINDOWS\system32 
    Boot Device \Device\HarddiskVolume2 
    Locale United States 
    Hardware Abstraction Layer Version = "5.1.2600.2705 (xpsp.050622-1524)" 
    Time Zone W. Europe Daylight Time 
    Total Physical Memory 2 048,00 MB 
    Available Physical Memory 694,84 MB 
    Total Virtual Memory 2,00 GB 
    Available Virtual Memory 1,94 GB 
    Page File Space 3,85 GB 
    Page File C:\pagefile.sys 

    Thanks
    /Binish
  • Jascha

    Re: XAF Win Application startup performance

    10/23/2008 12:42 PM
    • Top 50 Contributor
    • Joined on 5/4/2007
    • Posts 935
    Hi Binish,
     
    Yes - I have seen similar behaviour but have not got round to profiling it. Have you created an SC issue for this?
     
    Jascha
    "Binish Peter" wrote in message news:239154@community.devexpress.com...

    I have ~200 object types and 10 modules , in a P4 , 3GHz  , 2GB RAM   laptop it takes 45 seconds for login screen to appear.

    has anyone faced this issue?.

    when I started with the project it was acceptable (<5seconds) , but when more rules and customization are added this got slow.

    the time taken is in ApplicationModulesManager::LoadModel (50% for UpdateModel and 50% for LoadTypesInfo ).

     


    Thanks
    /Binish

    http://community.devexpress.com//forums/p/70205/239154.aspx#239154

More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.