I have a Compose view that scrolls with maybe 56 ‘...
# compose
t
I have a Compose view that scrolls with maybe 56 ‘subviews’ and performance is not good. I know the Compose team is still working on optimization, but is there anything I can do to measure performance or provide info to the team to assist? I tried using the latest layout inspector, but it just crashes the app. Thanks.
1
c
I know romain has asked for specific examples of perf issues to be filed as bugs.
r
What kind of scrolling container are you using?
Is it a lazy list type of thing or something else?
t
Example of the column I am constructing.
r
Is this expected that your LazyColumn has only one item in it?
t
Actually, after posting this yesterday, I remembered that this was a Column before. I changed it due to some error from the compiler. Going through my git history now to see what happened. Will post an update later today.
m
@romainguy where should we file performance issues? I have happily coded my whole app in compose only to find out that on weaker phones it lags like hell. I mean scrolling of accompanist Pager and LazyColumn with many items are really slow.
I am trying on a Huawei P20 / Huawei Mate P20
tried to look for some unnecessary recompositions but I can't find any, it seems to just be this way.