Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does contour have a performance benchmark #98

Open
chachako opened this issue Aug 22, 2020 · 2 comments
Open

Does contour have a performance benchmark #98

chachako opened this issue Aug 22, 2020 · 2 comments

Comments

@chachako
Copy link

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?

@aerb
Copy link
Collaborator

aerb commented Aug 24, 2020

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.

@chachako
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants