oops... sorry about the prior message. Doh!
It has also been my experience that rendering is usually the
bottleneck. See this post on my blog <http://blog.fastlanesw.com/?p=25>
for an example of the difference a UIComponent based renderer can make
over containers.
hth
Scott
Tracy Spratt wrote:
In my experience, the rendering of the UI is the bottleneck, not the
data transfer.
Use timer and the result handler function to time the actual data
transfer. You ARE using a result handler, and not binding directly to
lastResult, right?
Are your item renderers built on containers? If so, you need to move
to extending UIComponent instead. See Alex Harui's blog for a full
explanation why, and for many examples.
Tracy
------------------------------------------------------------------------
*From:* [email protected] [mailto:[EMAIL PROTECTED]
*On Behalf Of *j_lentzz
*Sent:* Friday, September 28, 2007 2:11 PM
*To:* [email protected]
*Subject:* [flexcoders] HTTPService Performance Issue - very slow
Hi,
I've got an app getting data from a server to populate a screen with
3, text inputs, some radio buttons and a data grid. With some data,
it is taking almost a minute to save and refresh the scren. The data
grid seems to be the issue. It contains many comboboxes. I've read
that these are very slow if too many appear in a datagrid. I see the
last data leave the server and I have timer marks for when I start my
processing of the returned data (populating the arraycollection for
the datagrid - I'm using the default resultFormat of Object) to when
I'm done and just waiting on the screen to display it. The processing
time I'm getting from the timers is very low (1/2 sec or less).
However, I'm seeing the busy cursor staying on the screen for almost
the complete time I'm waiting. Once the busy cursor leaves, the
screen appears almost instantly with data. The docs say that the busy
cursor is displayed until the class completes loading data. So is the
bottleneck on the Flex side (the loading of the data from the
HTTPService) that I can't access? Or is my datagrid full of
comboboxes the issue, even though the busy cursor is staying on the
screen.
Any guidance would be appreciated.
Thanks,
John