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

Animation performance issues #45

Open
codehz opened this issue Nov 3, 2019 · 4 comments
Open

Animation performance issues #45

codehz opened this issue Nov 3, 2019 · 4 comments

Comments

@codehz
Copy link

codehz commented Nov 3, 2019

表现为鼠标在窗口内移动时帧率急剧下降,但是不动时帧率正常(录制有dither,但是实际是基本跑满60FPS的)
bug2

@vczh
Copy link
Member

vczh commented Nov 5, 2019

这是debug还是release?如果是debug我就不管了。

@codehz
Copy link
Author

codehz commented Nov 5, 2019

@vczh 显然是debug,但是这个已经严重影响体验了,不仅是这个动画(事实上只是由于这个容易截图),所有的界面动画都会在鼠标移动的时候停止。。。包括hover效果一类的。。然后感觉就是操作一顿一顿的。。。
release模式正常,但是CPU/GPU占用还是偏高,CPU后台2%,GPU在垃圾I卡上保持高达40-50%占用(虽然我知道这个比例只是看看的,但是总体还是比较夸张,即使停留在静止界面上也会造成30%左右的占用(当然,是拿不开程序和开程序相比)

@vczh
Copy link
Member

vczh commented Nov 5, 2019

@codehz 还有什么动画?我记得tutorial里面一共就这两个动画。如果你说的是Ribbon的话,我是故意在鼠标停止的时候才排版的。还有别的动画吗?

一般来说如果release才有,我就等以后再修了,优先做别的。

@codehz
Copy link
Author

codehz commented Nov 5, 2019

@vczh 任何显示变化的,比如拉滚动条这种,以及调整列表框宽度,以及鼠标移动到控件上的高亮效果,都会有延迟和卡顿(就是动作做完了隔0.2-1秒才看到效果的样子)。

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

2 participants