contour icon indicating copy to clipboard operation
contour copied to clipboard

Does contour have a performance benchmark

Open chachako opened this issue 5 years ago • 2 comments

I want to know the performance compare between contour vs constraintLayout. I have seen in some places that if a simple layout uses constraintLayout, it will not be faster than using frameLayout or linearLayout, so contour?

chachako avatar Aug 22 '20 04:08 chachako

We don't have any performance benchmarks presently and probably should - but yes different layouts will perform differently. FrameLayout will probably be fastest because it is the simplest layout, and layout performance is always going to align pretty closely with view complexity. Typically as long as you don't build super nested layouts you'll be ok.

aerb avatar Aug 24 '20 17:08 aerb

@aerb All in all, if I don’t need to use a lot of nested layouts, I can use FrameLayout, otherwise I use Contour?

chachako avatar Aug 25 '20 04:08 chachako