I just tried an app with a LazyColumn on a device and it is really laggy. Its a small example app with hardly any code in it. I would still expect better performance. I think doing a release build helps a bit. Any suggestions of what else could be affecting performance ?
08/14/2021, 3:37 PM
It is fast only in release mode with R8 minimizations applied. Alternatively, you can force full AOT on your device to make it run even faster.
I tested LazyColumn with arbitrary length text elements on my Nexus 5 (2013). In different modes, it works very differently, you should not judge raw debug builds.
raw debug build, no R8 - JIT is running, it is very slow
release build + R8 minifications applied - much better, but JIT is still there
release build + R8 + full AOT - you can see the difference