In Avalonia ui, when I have more then 2000 controls on window, I have a lof of frizes of gui, the application freezes and responds slowly to clicking on Windows and Linux(Ubuntu) (don't tested on macos)
In wpf for .net core has no problems with 10 000+ controls
Here is repo with avalonia on gitlab
Here is the same vm+ m , but view on wpf gitlab
steps to reproduce
1) run app
2) press button "start"
3) wait 2-3 minutes
4) try to press "clear"

I'll take a look at this but note that performance hasn't been a priority in Avalonia until recently (we were concentrating on getting stuff working!), but we're now going through the code and trying to improve performance, so hopefully we can fix this.
Sounds good
I like avalonia, and it works, that cool
belive that it will be fix.
Reusing the shape would also help here. You just draw the same shape at multiple places.
Most helpful comment
I'll take a look at this but note that performance hasn't been a priority in Avalonia until recently (we were concentrating on getting stuff working!), but we're now going through the code and trying to improve performance, so hopefully we can fix this.