# compose


11/30/2020, 4:20 PM
Has compose gone through performance optimization yet? I found someone who made a small compose benchmark vs standard Android views a while back. His results shows compose running more than 50% slower than Android Views. I updated his benchmark to the latest version of compose, and ran it. I haven’t seen any numbers, but compose is noticeably slower from a user perspective of loading the page.

Robert Menke

11/30/2020, 4:25 PM
I don’t think it’s ever possible to have a framework like compose, react, swiftui run faster than a well-optimized, imperatively written UI. For the most part as long as you’re getting 60 FPS it doesn’t really matter but we do pay a cost for the brilliant abstraction layer that compose provides.


11/30/2020, 4:49 PM
I think what I noticed most of all is that even loading the screen took significantly longer.

Joost Klitsie

11/30/2020, 5:29 PM
Does adapterlist lazy load? Also how do the results look like without loading vectordrawables on the main thread?
I did not notice compose to be particularly slow
Also not that it is particularly fast


11/30/2020, 6:10 PM
Might have to do with android views being bundled with the OS and therefore being well JITed.