Is LazyColumn really performance effective? My Laz...
# compose
a
Is LazyColumn really performance effective? My LazyColumn seems to be to janky and lagging on scroll. Is there any specific case for it or is it just bad in general? Also are there any best practices for combination of views in LazyColumn?
b
Are you testing on a release or debug build? Debug builds have a few performance challenges with compose, and many of those are “fixed” in release builds. You should see very different performance between the two. Unfortunately Views have the advantage of being optimized & shared throughout the entire platform, while Compose needs to rely on compile time optimization (some of which is skipped for debug builds to make the build faster).
s
Yes, it is. I made my set of tests for that case. Compose UI can run well on mid-priced devices, but some things still need some work or polishing to be quite good. https://github.com/desugar-64/android-compose-performance-teste
a
Thank you @Bryan Herbst & @Sergey Y. I will try to test it out on a release build and see. But it feels like some issues still need to be ironed out in compose.