You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/03/30 11:25:43 UTC

[GitHub] [royale-asjs] Harbs commented on issue #1097: Documents Loading too Slow Compared to Flex

Harbs commented on issue #1097:
URL: https://github.com/apache/royale-asjs/issues/1097#issuecomment-810143204


   Based on the profiler, it looks like you have a data grid which is dynamically resized which is in turn calling layout on data renderers. By the look of it, many times. There's also a number of forced reflows which is very bad for performance.
   
   Some suggestions:
   1. Use fixed sizing.
   2. Use a simpler layout bead.
   3. If you have a lot of data, use dynamic loading of data and / or renderers as they are needed for display.
   4. Look into why you are getting forced reflow and try to eliminate that. The best way to do that is to defer measuring until you are within a `requestAnimationFrame` handler.
   
   HTH...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org