-
Notifications
You must be signed in to change notification settings - Fork 675
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 degradation on showing huge content #3335
Comments
I think have seen a similar issue (not sure if related) where the performance degrades after the window size was changed a few times. This could especially be seen with XAML animations. |
This might be related to this leak in cs/winrt. . @Xarlot can you check task manager and see if memory usage is increasing each time you activate ? @Scottj1s as FYI |
It seems my steps to reproduce weren't good. |
I upgrade the origin project to Preview 3. The performance issue still here.
Each next window loads about 20% slower than the previous. Updated project: |
Thanks @BorzillaR and @Xarlot. @bartekk8 can you see if this is still reproing on the latest? |
@Austin-Lamb would someone on your team be able to look at this? |
Thanks for reporting this issue. I verified and it still repros on the latest. The repro app creates multiple windows with a lot of content and in such case a slowdown is to be expected, but when windows are destroyed the perf should improve. Unfortunately, it doesn't, so It looks like there's a leak here! Again, thanks for catching it! |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
While investigating WinUI 3 Desktop performance I`ve observed a performance degradation on showing new windows with huge content.
Describe the bug
Every new window with huge content shows 20% times slower compared to the previous.
Steps to reproduce the bug
Sample project App10.zip
Click a "click me" button, the result will be shown in the title.
Expected behavior
There is no difference between activations
Version Info
Package version 3.0.0-preview2.200713.0
AppModel WinUI 3 Desktop
OS Name Microsoft Windows 10 Enterprise
OS Version 10.0.19041 N/A Build 19041
The text was updated successfully, but these errors were encountered: