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

CPU 和 GPU 占用率高 #4

Closed
xnng opened this issue Mar 24, 2019 · 2 comments
Closed

CPU 和 GPU 占用率高 #4

xnng opened this issue Mar 24, 2019 · 2 comments

Comments

@xnng
Copy link
Contributor

xnng commented Mar 24, 2019

操作系统:win10

此插件在打开时会导致 cpu 和 gpu 占用率飙升,风扇的声音都能听得到。

微信截图_20190324163727
微信截图_20190324163833

@unicar9
Copy link
Owner

unicar9 commented Mar 24, 2019

@xnng 更新了一下动效的机制,默认静态波浪不执行 draw(),这是个每秒执行60次的循环,之前只是把时间增值一直设为0,所以不管动不动都一直维持60fps。关于优化 canvas 动画性能我再研究下好了。你可以更新看看。

@xnng
Copy link
Contributor Author

xnng commented Mar 24, 2019

感谢作者,我的问题基本上解决了,静态波浪已经不会再引起额外的 gpu 占用升高了,完全可以接受。

@xnng xnng closed this as completed Mar 24, 2019
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