Open jeromelaban opened 2 years ago
I create a WinUI project and I get the following result:
did I miss something?
@VincentBu I'm not sure of what you mean by this trace. I don't know what the origin of the problem is, only that the two pieces of code have very different performance characteristics.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Is the performance behavior better in .NET 7?
@jeromelaban Do you happen to know if the behavior is better in .NET 8?
Description
Attaching a deep tree of controls to the live tree is 40x slower on MAUI than on bare WinUI 3, for similar operations.
Steps to Reproduce
Considering this code:
Attaching the resulting layout to any parent (anything in the live visual tree) is costly:
The equivalent in WinUI:
Version with bug
Release Candidate 2 (current)
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
net6.0-windows10.0.19041
Did you find any workaround?
None.
Relevant log output
No response