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

Very high CPU usage with animation enabled (hyperborder v2) #94

Open
LostInCompilation opened this issue Sep 18, 2022 · 2 comments
Open
Assignees

Comments

@LostInCompilation
Copy link

With the new hyperborder version (v2) the CPU usage is very high when enabling animation. I ruled out any other plugin by disabling them for testing. With all other plugins enabled (see list below), the CPU usage behaves almost the same.
Is there some room for optimisation?

With animation
Screenshot 2022-09-18 at 20 17 34

Without animation
Screenshot 2022-09-18 at 20 18 20

Plugins
Screenshot 2022-09-18 at 20 18 53

@webmatze webmatze self-assigned this Sep 19, 2022
@webmatze
Copy link
Owner

hyperborder uses native SVG animations with animateTransform which should be hardware accelerated.
But maybe I am doing something wrong or this is a performance problem of hyper/Chrome.

I will test some other animation methods to see if there is something more performant.

@hobgoblina
Copy link

hobgoblina commented Jan 30, 2023

Also experiencing this issue... updated Hyper recently on my Pop_OS machine and it started to run super slowly. Disabled border animation and everything's snappy again. A bit unfortunate tho, I really like the animation.

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

No branches or pull requests

3 participants