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:
us...@infra.apache.org


Reply via email to