Flex 4 Text Performance Issues
We have been running into performance issues with a new MMSP level application where we render anywhere from 1 to thousands of items. We narrowed it down to the List, DataGroup, ItemRenderer, and related items and decided to run some tests to see what about them was taking so long.
We created an app that creates 5 lists, each with their own data group and item renderer files. We created one with vectors/gradients only (NoLabelNoBind), vectors/gradients with labels and no binding, vectors/gradients with labels and binding, and then two more with richtext in stead of labels.
We rendered 100, 200, 300, 400, and then 500 items, all of which finished except the 500 item test, where it got a 15 second script timeout exception thrown. Maybe our tests are bogus and we are doing something wrong, but we are ignorant of those techniques if that is the case. The bottom line from this test app is to use labels where RichText isn’t needed and don’t use binding but in stead set the properties of the labels from the Dto/Vo objects as the renderer receives the new item.
Per the adobe help docs, we tried adding the “useVirtualLayout” property to the layout property on the datagroup and list with the same results.

Speed Test
The associated source can be found here.
Top Rated
Archives
Tweets
- Check out my new blog post - goo.gl/a1eXYm 4 months ago
- Pretty sure I have the best job in the world right now. 🙌 #BakerstreetIndustries 4 months ago
- @CoryBooker Tell the FCC to put people first in the set-top box debate. eff.org/fccsettop 1 year ago
- @SenGaryPeters Tell the FCC to put people first in the set-top box debate. eff.org/fccsettop 1 year ago
- @McCaskillOffice Tell the FCC to put people first in the set-top box debate. eff.org/fccsettop 1 year ago
Blog Stats
- 111,763 hits