Noemata / XamlBenchmark

XAML Framework Performance Comparison
21 stars 7 forks source link

Results for 2024 #6

Open HEIC-to-JPEG-Dev opened 4 months ago

HEIC-to-JPEG-Dev commented 4 months ago

I updated all packages to the latest version, for example, WinUI-2.8.6, WASDK 1.5, all run in x64 Release mode on Windows 11

( WPF ) Elapsed: 6,673 - 245 MB ( UWP ) Elapsed: 9,577 - 78 MB ( UWP ) WinUI-2.8.6 Elapsed: 9,935 - 84 MB ( WINUI) Elapsed: 12,365 - 138 MB

JohnnyWestlake commented 4 months ago

For posterity, my results in x64 Release Mode with updated packages, on a Surface Studio 2 , and fixing the UWP test to not throw exceptions when setting StrokeDashArray

Platform Test Duration Private Set memory usage GPU Usage
UWP 10,467 ms 28 MB 1.1%
WinUI 3 (WASDK 1.5.4) 14,093 ms 58 MB 7%
WPF (.NET 8.0) 17,107 ms 64 MB 18%
Noemata commented 3 months ago

@JohnnyWestlake , thank you for the update. There was a time when I would have been very excited by XAML tech related benchmarks, but unfortunately, Microsoft has killed all things related to XAML for me personally. I've switched to Mac and am only looking to recoup my amortized investment in Windows these days (huge investment, sadly). I'm not surprised to see UWP still ahead. At least WinUI has pulled ahead of WPF. FYI, worked on a custom rendering engine for WPF that showed it too could outperform WinUI when leveraging a modern design for its graphics layer.

In a couple months or so I plan to circle back to some of this and open up more of my private repositories to public status. Perhaps others will be able to make use of some elements.

Thank you for keeping this alive.