Hi Navita - Below are some of the more important tips you can implement to improve application startup and runtime performance:
1. Minimize container nesting. Double check your code and try minimizing as much container nesting as possible. Verify that every container tag is needed, and not superfluous. For example, no need to declare a VBox inside a Panel because a Panel is inherently a VBox and lays children out as a VBox would. 2. Grids are very expensive, and should only be used when you want to line controls up both vertically and horizontally. Make sure all uses of Grid are valid, and if not replace your Grid with another container. 3. With respect to design - utilize the Navigators to organize content and to spread view creation out in manageable chunks. Looks like you may already be doing this, if by tabbed components you mean the TabNavigator. 4. With Flex DeferredInstantiation, there is a creationPolicy attribute on containers. For your TabNavigator, if its taking a significant amount of time to load, its either because of problem 1 above or double check that you haven't set any creationPolicies to all (which would create all hidden views at startup). 5. Double-check you're not using the Flash Debug Player, which is much slower then using the Release player and does not give an accurate portrayal of the performance of your application. We're working on a very in-depth performance article at the moment. This will be out on the MM site soon (by soon I mean in days!). This explores the topics above in much greater detail, as well as other topics related to performance on the server and client. This will be a good resource to reference. Cheers, Deepa -----Original Message----- From: shravage_n [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 28, 2004 3:01 PM To: [email protected] Subject: [flexcoders] Improve performance Hi, Are there any ui design guidelines for flex. I am not sure if its related to the way the application ui is designed, but the performance is very slow. It takes almost 2 minutes to recompile the mxml and then another few minutes to actually load the application in the browser. Also noticed that for tabbed components it takes very long to actually load the nested containers. Can anybody help in this direction as the user experience with the sample ui even without integrating with the Data Service layer is extremally slow. Any ideas for ui design guidelines in flex. thanks, regards, navita Yahoo! Groups Links

