RE: [flexcoders] General / Performance questions

2005-04-24 Thread Matt Chotin










1. Is there a performance difference
between accessing 
properties as object.property and
object[property].



Dont think so


2. Is there a
performance difference between calling methods 
and static methods? 



Dont think so













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.












[flexcoders] General / Performance questions

2005-04-22 Thread viraf_bankwalla


Hi,

I have an application that is primarily two data grids (summary and 
detailed) that is suffering from performance problems (takes approx 
20 seconds to render a page).  I am just about to start profiling 
and examining our application for performance, and have a host of 
introductory questions 

1.  Is there a performance difference between accessing 
properties as object.property and object[property].
2.  Is there a performance difference between calling methods 
and static methods?  
3.  What is the overhead for the dispatcher and dispatching 
events vs. calling methods directly?
4.  What is the difference between instantiating classes using 
new vs createClassObject.  What are the best practices between their 
usage?
5.  The Flex Application Performance… paper on
Macromedia's 
site suggests using absolute positioning and sizing.  What is the 
difference between setting width/height and calling setSize.  What 
is the difference between setting x,y vs move.  What is the the 
preferred mechanism for setting the above.
6.  What documents are available to help me better understand 
how the UI component work so that I can apply appropriate mechanisms 
to improve rendering of the application.
7.  What have been other peoples experience and how have they 
improved the performance of the application?






 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/