in
Forums
Blogs
Files
Devexpress.Com
Client Center
Support Center
DevExpress Channel

XAF Win Application startup performance

Last post 10/23/2008 12:42 PM by Jascha. 5 replies.
Page 1 of 1 (6 items)
Sort Posts:
Previous Next
  • 10/23/2008 9:52 AM

    XAF Win Application startup performance

    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:
  • 10/23/2008 10:02 AM In reply to

    • Marco
    • Top 200 Contributor
    • Joined on 12/12/2007
    • Posts 58

    Re: XAF Win Application startup performance

    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

  • 10/23/2008 10:53 AM In reply to

    Re: XAF Win Application startup performance

     

    Talking about Release version with Trace = 0

    Thanks
    /Binish
  • 10/23/2008 10:58 AM In reply to

    • Marco
    • Top 200 Contributor
    • Joined on 12/12/2007
    • Posts 58

    Re: XAF Win Application startup performance

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

     

  • 10/23/2008 11:14 AM In reply to

    Re: XAF Win Application startup performance

     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
  • 10/23/2008 12:42 PM In reply to

    Re: XAF Win Application startup performance

    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

Page 1 of 1 (6 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED