Skip to content

Performance

xtuzy edited this page Mar 8, 2023 · 4 revisions

SharpConstraintLayout.Core

SharpConstraintLayout.Core.Benchmark test performance of ConstraintLayout.Core.

  • 50 widget in flow sharex-20220501140819

  • 100 widget in flow sharex-20220501140644

  • 1000 widget in flow sharex-20220501140330

They are select fast at test. We can see, when have widget too many, android will slow than ios. so we can't use it to make node graphic. sharex-20220501171153

SharpConstraintLayout Widget

see https://github.com/xtuzy/SharpConstraintLayout/issues/22

Summary

On mobile, controls is less(<100), you can use it instead of Grid, RelativeLayout, StackLayout. But you can't use it instead of WrapPanel when it have many controls.

On desktop, if you want create ui like VisualStudio, it is suitable as root layout to manage components.

Clone this wiki locally