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

Many concurrent UI animations cause performance dips #178

Open
1 task done
jonjondev opened this issue Nov 25, 2021 · 0 comments
Open
1 task done

Many concurrent UI animations cause performance dips #178

jonjondev opened this issue Nov 25, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@jonjondev
Copy link
Member

Describe the bug

When making changes to a large number of UI elements, there will be a significant dip in performance because, as noted here, the UI needs to be optimised, such as in the case of splitting up moving parts into smaller sub-canvas items to avoid recalculating canvas bounds on each movement.

See below for profiling report on one such spike event in the main menu to game transition:
Screen_Shot_2021-11-16_at_11 55 22_pm

To reproduce

The most dramatic and easily observable instance of this is in the main menu to game transition. It lags as it moved on high enough setting and can be seen as causing a significant spike in CPU usage as in the above image.

System details

  • Release: v2.0.4

Additional details

TODO

  • Add the bug to the "Bug Triage Board"
@jonjondev jonjondev added the bug Something isn't working label Nov 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant