Microsoft optimizes WinUI 3 framework to increase Windows 11 responsiveness

Windows 11 file Explorer
File Explorer launch time is used as a benchmark for WinUI 3 performance improvements.

Windows 11's performance is being improved through Microsoft's ongoing Windows K2 initiative. A key part of that effort is transitioning core elements of Windows 11 to WinUI 3, the native framework of Windows.

But Microsoft is doing more than just rebuilding the Start menu and other parts of the OS using WinUI, the tech giant is improving WinUI itself. A post on GitHub details Microsoft's work to improve WinUI, which will lead to even better performance of elements rebuilt using the framework.

Swipe to scroll horizontally

Metric

Improvement

Allocations

41% fewer

Transient allocations

63% fewer

Function calls

45% fewer

Time spent in WinUI code

25% reduction

Microsoft says that we can expect to see the changes hit the development branch "soon." After that, the improvements will make their way to the winui3/main branch.

A comment by Pan expands on the importance of improving the WinUI framework alongside making other improvements:

"The approach here is we do what we can from framework side, and obv other teams in Windows also investigated and been doing work to improve overall launch perf, we connect/collaborate frequently to make sure the improvements will be end-to-end. It's a long-term commitment for fundamentals and quality."

A Lenovo Yoga Slim 7i Ultra (Gen 11) Aura Edition laptop screen shows a home screen with open taskbar featuring app icons.

Windows 11's Start menu is being rebuilt using WinUI to improve performance. (Image credit: Ben Wilson | Windows Central)

As Pan explained, efforts to improve WinUI and move elements to the framework are being done in conjunction with other changes. Windows 11's Low Latency Profile mode improves OS performance by briefly boosting a system's CPU to max frequency for between 1 and 3 seconds. That feature drew criticism, despite similar features appearing on macOS, Linux, and other operating systems.

Windows 11 has been highly criticized for how long it takes to load core parts of the operating system. Moving those elements to WinUI, improving WinUI itself, and rolling out features like Low Latency Profile mode will result in a much snappier Windows 11.


Click to join us on r/WindowsCentral

Join us on Reddit at r/WindowsCentral to share your insights and discuss our latest news, reviews, and more.


Sean Endicott
News Writer and apps editor

Sean Endicott is a news writer and apps editor for Windows Central with 11+ years of experience. A Nottingham Trent journalism graduate, Sean has covered the industry’s arc from the Lumia era to the launch of Windows 11 and generative AI. Having started at Thrifter, he uses his expertise in price tracking to help readers find genuine hardware value.

Beyond tech news, Sean is a UK sports media pioneer. In 2017, he became one of the first to stream via smartphone and is an expert in AP Capture systems. A tech-forward coach, he was named 2024 BAFA Youth Coach of the Year. He is focused on using technology—from AI to Clipchamp—to gain a practical edge.

You must confirm your public display name before commenting

Please logout and then login again, you will then be prompted to enter your display name.