DEV Community

Bart Czernicki
Bart Czernicki

Posted on

.NET 6 Preview - Major Blazor Performance Improvements

.NET 6 Preview 1 bits were released yesterday (info below)... (ASP.NET)

.NET 6 Preview 1 for Blazor WebAssembly (WASM) includes many performance enhancements planned. For example, in Preview 1 the interpreter has been improved greatly. This gives Blazor WASM a VERY nice performance bump in .NET 6 for "FREE" by just using the new .NET 6 runtime.

I ran some performance tests comparing .NET Core 3.x, .NET 5 and .NET 6 Preview 1...and you can see .NET 6 is 22%-32% faster across various compute devices/browsers.
Alt Text

Run the performance tests yourselves and compare!
.NET 6 -
.NET 5 -
.NET 3 (Core) -

Source Code:

Top comments (1)

sahan profile image
Sahan • Edited

I've always wondered how Blazor WASM would perform locally in different devices and browsers with stat workloads. Impressive! Thanks for putting this together!