Does anyone faced laggy scroll issue on iOS? Chang...
# compose-ios
h
Does anyone faced laggy scroll issue on iOS? Changing schemas from Debug to Release does not improve the speed. I'm using latest version of compose-multiplatform.
m
AFAIK release is faster only for android, but for other targets it's the same. For the scroll issues, what are the operations that you are doing inside the scroll items?
You may be doing too much work on the main thread when each scroll item is initialized.
k
release is faster only for android
false
thank you color 2
j
For iOS, release is faster than debug as well. The release scheme is linked to release compilation. But like mentioned above: try to profile what's happening (you can profile the recompositions on an Android)
👍 1
thank you color 1
m
Interesting. Is the difference between release and debug for iOS as big as Android? Because for Android debug has many things related to tooling, which is the main reason why debug is slower on Android.
h
> You may be doing too much work on the main thread when each scroll item is initialized. Nothing extra ordinary, Just few texts in a row. At least on my old android release build works pretty smooth compared to the iPhone 13 PRO 😄
e
Hi, can you create an issue with repro, so we can investigate it?
thank you color 1
h
Hey, I will find a time in the upcoming week and create issue
👍 1
c
You might find this thread interesting as it's sorta related to perf: https://kotlinlang.slack.com/archives/C0346LWVBJ4/p1704395951940269