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

vipulasri

03/01/2020, 1:41 PM
Is there a way to benchmark
VerticalScroller
and
AdapterList
performance? As far as I have tried using HWUI Rendering test, can't make much out of it!
@Adam Powell can you help me on this? Is there a way to do this!
a

Adam Powell

03/03/2020, 8:12 PM
It's not clear to me what you're asking for. There are a great many aspects of performance you might want to benchmark, the jetpack benchmarking library and existing tests in compose using it would be a good set of examples to start from
And much of this is likely to change over the next few weeks as compiler and runtime optimizations land, plus AdapterList is an early prototype to test the API shape, benchmarking it against other things right now might be interesting to track but should not be used to form architectural decisions yet