Hi Guys,
i already know Q142886 and some other Performance Suggestions. But we are currently in an test stage on an customer with about 80 - 100 Users. There is an VMWare ESX Environment. The Main Problem is Performance. Our Contact DetailView is more complex then other view - and opening an Contact takes 10 Seconds there. So after digging through the XAF Sourcecode i found in the Window.cs this Method: FindCachedView. So it looks like you have already thought about that. Currently i would need an Solution to speed up the System, because the users are not really comfortable with the overal performance.
BTW: An Side effect of the whole performance is also CPU Usage. I noticed if i open the the DetailView CPU goes up to 70-90%…?
So do you have any hints/suggestions how i can implement such caching in the meantime by my self?
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.
Hi Martin,
Thanks for the report. I'm afraid it's difficult to clearly diagnose this problem and provide you with exact recommendations without being able to isolate the problem locally. First, could you please confirm that the same problem occurs when running your application out of the VMWare ESX environment context? If so, could you please post any example, containing the problematic layout, so that we can examine it on our side? You can mark the question as Private to prevent it from being accessed by other customers.
Thanks,
Alex
Hi Alex,
this post here is similar to one i created earlier: http://www.devexpress.com/Support/Center/p/Q136840.aspx
So on my local Machine the Contact View opens in 5-6 Seconds, but on customer side, with slower pc's - it opens in 10 seconcs.
At the end of this post dennis noted "This problem lies beyond DevExpress and our support guidelines, I am sorry." -> it was bit frustrating…
So again, on my machine, Intel Core Duo 2,6 GHZ, 4 GIG Ram, Win7 64 bit - the View takes 5 Seconds, so you can imagine what it takes on an lower pc.
Since Dennis also said the loading cannot much be improved?, i looking for other ways now.
CPU Usage: If i start feature center on my machine, CPU goes up to nearly 50%, also if i open complex detailview in Feature Center. It reaches only a short time 50%, but in an environment with 80 Users on an terminalserver for example this is a pain?
Martin,
Thanks for the information. To improve performance, try to redesign the Contact Detail View layout. For instance, instead of displaying a large number of items at once, split the layout into groups, and invoke them via the corresponding Action in a separate Detail View. In most cases, this should help. However, if you find out that the problem isn't dependant on the Detail View complexity, post any example here, so that we can examine this misbehavior locally.
Thanks,
Alex
Alex,
the Topic of this thread for "How to Cache an View". So i was searching an way to achive this. Attached is an Screenshot of the Contact DetailView - if you can say me what i should change to improve significant the performance im happy… Attached also the VS Output of my Machine:
23.10.09 15:34:55.838 --------------------------------------------------------------------------------
23.10.09 15:34:55.839 Execute action
23.10.09 15:34:55.839 Type: DevExpress.ExpressApp.Actions.SingleChoiceAction
23.10.09 15:34:55.839 ID: New
23.10.09 15:34:55.840 Category: ObjectsCreation
23.10.09 15:34:55.840 ContextName: Kontakt
23.10.09 15:34:55.841 IsRoot: True
23.10.09 15:34:55.841 Selection.Count: 0
23.10.09 15:34:55.841 CurrentObject: <not specified>
23.10.09 15:34:55.842 SelectedItem: Kontakt
23.10.09 15:34:56.051 --------------------------------------------------------------------------------
23.10.09 15:34:56.052 Contact_LinkedContactKinds_ListView is loading
23.10.09 15:34:56.069 --------------------------------------------------------------------------------
23.10.09 15:34:56.070 Contact_LinkedContactKinds_ListView is loaded
23.10.09 15:34:56.171 --------------------------------------------------------------------------------
23.10.09 15:34:56.172 Contact_Addresses_ListView is loading
23.10.09 15:34:56.200 --------------------------------------------------------------------------------
23.10.09 15:34:56.201 Contact_Addresses_ListView is loaded
23.10.09 15:34:56.219 --------------------------------------------------------------------------------
23.10.09 15:34:56.220 Contact_Industries_ListView is loading
23.10.09 15:34:56.237 --------------------------------------------------------------------------------
23.10.09 15:34:56.238 Contact_Industries_ListView is loaded
23.10.09 15:34:56.252 --------------------------------------------------------------------------------
23.10.09 15:34:56.253 Contact_Contacts_ListView is loading
23.10.09 15:34:56.263 --------------------------------------------------------------------------------
23.10.09 15:34:56.264 Contact_Contacts_ListView is loaded
23.10.09 15:34:56.279 --------------------------------------------------------------------------------
23.10.09 15:34:56.280 Contact_Features_ListView is loading
23.10.09 15:34:56.290 --------------------------------------------------------------------------------
23.10.09 15:34:56.290 Contact_Features_ListView is loaded
23.10.09 15:34:56.303 --------------------------------------------------------------------------------
23.10.09 15:34:56.304 Contact_Relations_ListView is loading
23.10.09 15:34:56.315 --------------------------------------------------------------------------------
23.10.09 15:34:56.316 Contact_Relations_ListView is loaded
23.10.09 15:34:56.349 --------------------------------------------------------------------------------
23.10.09 15:34:56.350 Contact_Activities_ListView is loading
23.10.09 15:34:56.526 --------------------------------------------------------------------------------
23.10.09 15:34:56.527 Execute action
23.10.09 15:34:56.528 Type: DevExpress.ExpressApp.Actions.SingleChoiceAction
23.10.09 15:34:56.528 ID: ChangeVariant
23.10.09 15:34:56.528 Category: View
23.10.09 15:34:56.529 ContextName: Aktivitäten
23.10.09 15:34:56.529 IsRoot: False
23.10.09 15:34:56.530 Selection.Count: 0
23.10.09 15:34:56.530 CurrentObject: <not specified>
23.10.09 15:34:56.530 SelectedItem: Listenansicht
23.10.09 15:34:56.534 --------------------------------------------------------------------------------
23.10.09 15:34:56.534 Contact_Activity_ListView_As_Grid is loading
23.10.09 15:34:56.547 --------------------------------------------------------------------------------
23.10.09 15:34:56.548 Contact_Activity_ListView_As_Grid is loaded
23.10.09 15:34:56.549 Action 'ChangeVariant' done
23.10.09 15:34:56.550 --------------------------------------------------------------------------------
23.10.09 15:34:56.551 Contact_Activity_ListView_As_Grid is loaded
23.10.09 15:34:56.565 --------------------------------------------------------------------------------
23.10.09 15:34:56.566 Contact_ContactPersons_ListView is loading
23.10.09 15:34:56.588 --------------------------------------------------------------------------------
23.10.09 15:34:56.601 Contact_ContactPersons_ListView is loaded
23.10.09 15:34:56.619 --------------------------------------------------------------------------------
23.10.09 15:34:56.622 Contact_BaseDocuments_ListView is loading
23.10.09 15:34:56.643 --------------------------------------------------------------------------------
23.10.09 15:34:56.644 Contact_BaseDocuments_ListView is loaded
23.10.09 15:34:56.658 --------------------------------------------------------------------------------
23.10.09 15:34:56.659 Contact_Documents_ListView is loading
23.10.09 15:34:56.668 --------------------------------------------------------------------------------
23.10.09 15:34:56.668 Contact_Documents_ListView is loaded
23.10.09 15:34:56.684 --------------------------------------------------------------------------------
23.10.09 15:34:56.685 Person_Communications_ListView is loading
23.10.09 15:34:56.693 --------------------------------------------------------------------------------
23.10.09 15:34:56.694 Person_Communications_ListView is loaded
23.10.09 15:34:56.708 --------------------------------------------------------------------------------
23.10.09 15:34:56.709 Person_AuditTrail_ListView is loading
23.10.09 15:34:56.716 --------------------------------------------------------------------------------
23.10.09 15:34:56.717 Person_AuditTrail_ListView is loaded
23.10.09 15:34:56.918 Check App Name Compatibility
23.10.09 15:34:56.919 Check stored module versions against the versions of the loaded modules
23.10.09 15:34:56.919 module 'SystemModule' (DevExpress.ExpressApp.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.919 module 'SystemWindowsFormsModule' (DevExpress.ExpressApp.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.920 module 'CloneObjectModule' (DevExpress.ExpressApp.CloneObject.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.920 module 'ViewVariantsModule' (DevExpress.ExpressApp.ViewVariantsModule.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.921 module 'ValidationModule' (DevExpress.ExpressApp.Validation.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.921 module 'SecurityModule' (DevExpress.ExpressApp.Security.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.922 module 'RibbonUIWindowsFormsModule' (DevExpress.ExpressApp.RibbonUI.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.922 module 'FileAttachmentsWindowsFormsModule' (DevExpress.ExpressApp.FileAttachment.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.922 module 'PivotChartModuleBase' (DevExpress.ExpressApp.PivotChart.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.922 module 'PivotChartWindowsFormsModule' (DevExpress.ExpressApp.PivotChart.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.922 module 'ReportsWindowsFormsModule' (DevExpress.ExpressApp.Reports.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.922 module 'SchedulerModuleBase' (DevExpress.ExpressApp.Scheduler.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.923 module 'SchedulerWindowsFormsModule' (DevExpress.ExpressApp.Scheduler.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.923 module 'TreeListEditorsModuleBase' (DevExpress.ExpressApp.TreeListEditors.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.924 module 'TreeListEditorsWindowsFormsModule' (DevExpress.ExpressApp.TreeListEditors.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.924 module 'ValidationWindowsFormsModule' (DevExpress.ExpressApp.Validation.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.924 module 'AuditTrailModule' (DevExpress.ExpressApp.AuditTrail.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.925 module 'ModelDifferenceModule' (eXpand.ExpressApp.ModelDifference). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.925 module 'eXpandSecurityModule' (eXpand.ExpressApp.Security). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.925 module 'eXpandSystemModule' (eXpand.ExpressApp). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.926 module 'AdditionalViewControlsProviderModule' (eXpand.ExpressApp.AdditionalViewControlsProvider). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.926 module 'eXpandValidationModule' (eXpand.ExpressApp.Validation). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.927 module 'ModelArtifactStateModule' (eXpand.ExpressApp.ModelArtifactState). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.927 module 'ConditionalEditorStateModuleBase' (DevExpress.ExpressApp.ConditionalEditorState.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.927 module 'VenDocModule' (VenDoc.Module). Local version: 1.0.3582.42562, Version on DB: 1.0.3582.42562
23.10.09 15:34:56.928 module 'ConditionalFormattingModule' (DevExpress.ExpressApp.ConditionalFormatting.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.929 module 'VenDocPersistentModule' (VenDoc.Module.Persistent). Local version: 1.0.3582.42563, Version on DB: 1.0.3582.42563
23.10.09 15:34:56.929 module 'VenDocCustomEditorsWinModule' (VenDoc.Module.CustomEditors.Win). Local version: 1.0.0.0, Version on DB: 1.0.0.0
23.10.09 15:34:56.930 module 'VenDocDocuWareModule' (VenDoc.Module.DocuWare). Local version: 1.0.3582.42561, Version on DB: 1.0.3582.42561
23.10.09 15:34:56.930 module 'VenDocDocuWareWinModule' (VenDoc.Module.DocuWare.Win). Local version: 1.0.3582.42572, Version on DB: 1.0.3582.42572
23.10.09 15:34:56.930 module 'VenDocWizardUIWinModule' (VenDoc.Module.WizardUI.Win). Local version: 1.0.3582.42575, Version on DB: 1.0.3582.42575
23.10.09 15:34:56.931 module 'VenDocCRMModule' (VenDoc.Module.CRM). Local version: 1.0.3582.42570, Version on DB: 1.0.3582.42570
23.10.09 15:34:56.931 module 'eXpandSystemWindowsFormsModule' (eXpand.ExpressApp.Win). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.932 module 'ModelDifferenceWindowsFormsModule' (eXpand.ExpressApp.ModelDifference.Win). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.932 module 'AdditionalViewControlsProviderWindowsFormsModule' (eXpand.ExpressApp.AdditionalViewControlsProvider.Win). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.932 module 'ModelArtifactStateWindowsFormsModule' (eXpand.ExpressApp.ModelArtifactState.Win). Local version: 0.0.0.12, Version on DB: 0.0.0.12
23.10.09 15:34:56.933 module 'VenDocWindowsFormsModule' (VenDoc.Module.Win). Local version: 1.0.3582.42574, Version on DB: 1.0.3582.42574
23.10.09 15:34:56.933 module 'VenDocPersistentWinModule' (VenDoc.Module.Persistent.Win). Local version: 1.0.3582.42576, Version on DB: 1.0.3582.42576
23.10.09 15:34:56.934 module 'VenDocArticleModule' (VenDoc.Module.Article). Local version: 1.0.3582.36377, Version on DB: 1.0.3582.36377
23.10.09 15:34:56.934 module 'VenDocArticleWinModule' (VenDoc.Module.Article.Win). Local version: 1.0.3582.42577, Version on DB: 1.0.3582.42577
23.10.09 15:34:56.935 module 'VenDocDocumentsModule' (VenDoc.Module.Documents). Local version: 1.0.3582.42575, Version on DB: 1.0.3582.42575
23.10.09 15:34:56.935 module 'VenDocDocumentsWinModule' (VenDoc.Module.Documents.Win). Local version: 1.0.3582.42578, Version on DB: 1.0.3582.42578
23.10.09 15:34:56.935 module 'VenDocDocuWareWinModule' (VenDoc.Module.DocuWare.Win). Local version: 1.0.3582.42572, Version on DB: 1.0.3582.42572
23.10.09 15:34:56.936 module 'HtmlPropertyEditorWindowsFormsModule' (DevExpress.ExpressApp.HtmlPropertyEditor.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:56.936 module 'VenDocCRMWinModule' (VenDoc.Module.CRM.Win). Local version: 1.0.3582.42579, Version on DB: 1.0.3582.42579
23.10.09 15:34:56.937 module 'VenDocOfficeModule' (VenDoc.Module.Office). Local version: 1.0.3582.42560, Version on DB: 1.0.3582.42560
23.10.09 15:34:56.937 module 'VenDocOfficeWinModule' (VenDoc.Module.Office.Win). Local version: 1.0.3582.42576, Version on DB: 1.0.3582.42576
23.10.09 15:34:56.937 module 'ConditionalEditorStateWindowsFormsModule' (DevExpress.ExpressApp.ConditionalEditorState.Win.v9.2). Local version: 9.2.6.0, Version on DB: 9.2.6.0
23.10.09 15:34:57.283 --------------------------------------------------------------------------------
23.10.09 15:34:57.283 CustomerDetails_Representatives_ListView is loading
23.10.09 15:34:57.297 --------------------------------------------------------------------------------
23.10.09 15:34:57.298 CustomerDetails_Representatives_ListView is loaded
23.10.09 15:34:57.316 --------------------------------------------------------------------------------
23.10.09 15:34:57.317 ContactDetails_BankDetails_ListView is loading
23.10.09 15:34:57.559 --------------------------------------------------------------------------------
23.10.09 15:34:57.560 ContactDetails_BankDetails_ListView is loaded
23.10.09 15:34:57.588 --------------------------------------------------------------------------------
23.10.09 15:34:57.589 CustomerDetails_DetailView is loaded
23.10.09 15:34:57.645 --------------------------------------------------------------------------------
23.10.09 15:34:57.645 ContactDetails_BankDetails_ListView is loading
23.10.09 15:34:57.666 --------------------------------------------------------------------------------
23.10.09 15:34:57.667 ContactDetails_BankDetails_ListView is loaded
23.10.09 15:34:57.678 --------------------------------------------------------------------------------
23.10.09 15:34:57.680 SupplierDetails_DetailView is loaded
23.10.09 15:34:57.717 --------------------------------------------------------------------------------
23.10.09 15:34:57.718 ContactDetails_BankDetails_ListView is loading
23.10.09 15:34:57.726 --------------------------------------------------------------------------------
23.10.09 15:34:57.727 ContactDetails_BankDetails_ListView is loaded
23.10.09 15:34:57.740 --------------------------------------------------------------------------------
23.10.09 15:34:57.740 RepresentativeDetails_DetailView is loaded
23.10.09 15:34:57.774 --------------------------------------------------------------------------------
23.10.09 15:34:57.775 ContactDetails_BankDetails_ListView is loading
23.10.09 15:34:57.783 --------------------------------------------------------------------------------
23.10.09 15:34:57.784 ContactDetails_BankDetails_ListView is loaded
23.10.09 15:34:57.814 --------------------------------------------------------------------------------
23.10.09 15:34:57.815 EmployeeDetails_DetailView is loaded
23.10.09 15:34:57.857 --------------------------------------------------------------------------------
23.10.09 15:34:57.858 KSVDetails_DetailView is loaded
"VenDoc.Win.vshost.exe" (Verwaltet): "D:\Entwicklung.NET\Projekte\PraKom Software\VenDoc\VenDoc.Win.Bin\SQLExpress\Interop.SHDocVw.dll" wurde geladen
WinHintManager reference counter:2
23.10.09 15:34:59.885 --------------------------------------------------------------------------------
23.10.09 15:34:59.886 Contact_DetailView is loaded
23.10.09 15:35:00.480 --------------------------------------------------------------------------------
23.10.09 15:35:00.481 ImageLoader: Image is not found by its name in the following sources:
23.10.09 15:35:00.482 ImageName: VenDoc.Persistent.BaseImpl.CRM.ContactKindType\Customer
23.10.09 15:35:00.482 Sources: FileImageSource, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Validation.v9.2, Images
AssemblyResourceImageSource, VenDoc.Images, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.HtmlPropertyEditor.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Images.v9.2, Images
23.10.09 15:35:00.484 --------------------------------------------------------------------------------
23.10.09 15:35:00.485 ImageLoader: Image is not found by its name in the following sources:
23.10.09 15:35:00.485 ImageName: VenDoc.Persistent.BaseImpl.CRM.ContactKindType\Supplier
23.10.09 15:35:00.485 Sources: FileImageSource, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Validation.v9.2, Images
AssemblyResourceImageSource, VenDoc.Images, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.HtmlPropertyEditor.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Images.v9.2, Images
23.10.09 15:35:00.487 --------------------------------------------------------------------------------
23.10.09 15:35:00.487 ImageLoader: Image is not found by its name in the following sources:
23.10.09 15:35:00.488 ImageName: VenDoc.Persistent.BaseImpl.CRM.ContactKindType\Representative
23.10.09 15:35:00.488 Sources: FileImageSource, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Validation.v9.2, Images
AssemblyResourceImageSource, VenDoc.Images, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.HtmlPropertyEditor.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Images.v9.2, Images
23.10.09 15:35:00.490 --------------------------------------------------------------------------------
23.10.09 15:35:00.490 ImageLoader: Image is not found by its name in the following sources:
23.10.09 15:35:00.491 ImageName: VenDoc.Persistent.BaseImpl.CRM.ContactKindType\Employees
23.10.09 15:35:00.491 Sources: FileImageSource, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Validation.v9.2, Images
AssemblyResourceImageSource, VenDoc.Images, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.HtmlPropertyEditor.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Images.v9.2, Images
23.10.09 15:35:00.494 --------------------------------------------------------------------------------
23.10.09 15:35:00.494 ImageLoader: Image is not found by its name in the following sources:
23.10.09 15:35:00.495 ImageName: VenDoc.Persistent.BaseImpl.CRM.ContactKindType\Other
23.10.09 15:35:00.496 Sources: FileImageSource, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Validation.v9.2, Images
AssemblyResourceImageSource, VenDoc.Images, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.HtmlPropertyEditor.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.ConditionalEditorState.Win.v9.2, Images
AssemblyResourceImageSource, DevExpress.ExpressApp.Images.v9.2, Images
23.10.09 15:35:00.843 Action 'New' done
You can see here that ALL ListViews are loaded, even if they are initialy not visible in the Tab…?
screenshot
Dear Martin,
Sorry to disappoint you, but we cannot provide you with exact recommendations without being able to profile your sample application locally, as I stated previously. BTW: Could you please confirm that you are experiencing a problem when splitting the Contacts Detail View layout into different views, to improve the overall performance.
Thanks,
Alex
Alex,
in Q136840 i provided a example - it was not exactly our production code but it took also 3 seconds to load.
"BTW: Could you please confirm that you are experiencing a problem when splitting the Contacts Detail View layout into different views, to improve the overall performance"
Yes - this layout is as it is on customer side and we dont change it - such an layout can also be not an problem…
So again: Why are all the View are initialy loaded even if they are not initialy visible? Its really urgent for us Alex because the Contact_DetailView is the MainView for the Users, so i need urgently to speed up the loading time of the View!
Contact_LinkedContactKinds_ListView is loading - initialy visible
Contact_Addresses_ListView is loading2 - initialy not visible
Contact_Industries_ListView is loading- initialy visible
Contact_Contacts_ListView is loading- initialy not visible
Contact_Features_ListView is loading- initialy visible
Contact_Relations_ListView is loading- initialy not visible
Contact_Activities_ListView is loading- initialy visible
Contact_ContactPersons_ListView is loading- initialy not visible
Contact_Documents_ListView is loading- initialy not visible
Person_Communications_ListView is loading- initialy not visible
Person_AuditTrail_ListView is loading- initialy not visible
CustomerDetails_Representatives_ListView is loading- initialy not visible
ContactDetails_BankDetails_ListView is loading- initialy not visible
CustomerDetails_DetailView is loaded- initialy not visible
SupplierDetails_DetailView is loaded- initialy not visible
ContactDetails_BankDetails_ListView is loading- initialy not visible
RepresentativeDetails_DetailView is loaded- initialy not visible
ContactDetails_BankDetails_ListView is loading- initialy not visible
EmployeeDetails_DetailView is loaded- initialy not visible
Martin,
We'll examine the example posted in the Q136840 thread, and I'll get back to you once we have any results. In the meantime, you're welcome to post your actual project here, to prevent a possible misidentification of the problem. Back to your question: that's right, all views are instantiated at once, during the initialization phase. However, data will be loaded only when the view is activated, so in most situations this shouldn't cause a big performance hit. Anyway, we'll analyze the problem using the sample project you mentioned, to make it certain whether there's an actual issue we are currently unaware of.
Thanks,
Alex
Hi Martin,
Thanks for your patience. We've tested the sample project posted in the Q136840 thread (Q136840) on a machine with following configuration:
Intel Core 2 Duo, 3.0 GHz, 4GB RAM, Windows XP 64 bit. In our tests, the application was built using the Release configuration and launched out of the Visual Studio debugger context. The amount of time required to display the Detail form is less than 2sec (approximately 1.5 sec). The CPU usage increases for a very short period (less than a half of second). Let me know whether your results are different. As stated previously, you're welcome to post a most recent application snapshot, so that we can examine it as well. Other than that, there could be a performance loss when displaying a large number of items within the Detail View at once. Unfortunately, we can only suggest that you redesign the Detail View layout, to avoid this problem. At present, we see no suitable solution on how to improve the performance in this situation.
Thanks,
Alex