https://kotlinlang.org logo
#compose
Title
# compose
a

allan.conda

05/17/2022, 3:27 PM
Stuck at performance optimization, I’ve tried everything from the new docs to optimize my grid list and somehow managed to significantly improve my p50 scroll performance at full Compile. However, I’m still getting a lot of huge Janks from the profiler. Any idea what could be causing these huge recompositions and animations in a scrolling list context? I’m out of ideas 🤷
m

myanmarking

05/17/2022, 3:29 PM
Without code, no
t

Tash

05/18/2022, 1:46 AM
you’re probably doing this already, but was this profiling done on a release build with r8 enabled?
j

Jon Boekenoogen

05/18/2022, 3:07 AM
168 Ms is huge. Please ensure release build and it's not debuggable.
a

allan.conda

05/18/2022, 6:48 AM
Yes. It's a proper benchmark build. P50 is still 60fps
R8, release build, not debuggable
b

Ben Trengrove [G]

05/18/2022, 9:51 PM
Can we see some code? I would love to know what's going on and file a bug if needed
👍 1
a

allan.conda

05/19/2022, 7:22 PM
Thanks for noticing. I'll see if I can write a sample with this issue.
4 Views