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

Performance #4

Open
domjancik opened this issue Feb 18, 2021 · 0 comments
Open

Performance #4

domjancik opened this issue Feb 18, 2021 · 0 comments

Comments

@domjancik
Copy link
Owner

domjancik commented Feb 18, 2021

Investigate what makes squrs run slow on mobile and slower computer devices.

From my testing it seems like a lot just goes down to the rendering as making the window smaller gets things running smoother. However the separate loops for each squr are likely also not optimal.

On the rendering side, modifying the squr background to be animated using GPU accelerated opacity might be helpful, together with avoiding unneeded rerenders.


It's true however, that the choppy sounds from my struggling S8 are pretty interesting. I've recorded it and will post later.

Similar effect on faster devices can be achieved by opening the developer tools, enabling the device toolbar and choosing mid-tier or low-end mobile to simulate. Coincidentally, this is probably also a good way to develop the performance improvements.

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

1 participant