Closed danipen closed 12 months ago
Just tried, and indeed it was slow, so I hit pause and noticed that it's logging a load of messages to the debug window. If I comment out these lines from the sample app, it's instantaneous on my machine:
Could you commenting out those lines on your machine?
Yes, the slowdown was caused by the log. We can close this issue.
In the demo app, if you select a large number of nodes (around 15k), it makes the app slow and unresponsive. This happens because the selection process takes a long time and it's happening on the main UI thread.
Steps to reproduce:
TreeDataGrid
to select all the nodes.You can see the problem in this video:
https://github.com/AvaloniaUI/Avalonia.Controls.TreeDataGrid/assets/501613/6795679f-27c8-42e5-b816-89b9dc69ec1b