.NET 6 Preview - Major Blazor Performance Improvements
Bart Czernicki
Posted on February 18, 2021
.NET 6 Preview 1 bits were released yesterday (info below)...
https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-1/
https://devblogs.microsoft.com/aspnet/asp-net-core-updates-in-net-6-preview-1/ (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.
Run the performance tests yourselves and compare!
.NET 6 - https://statisticsandblazordotnet6.azureedge.net/
.NET 5 - https://statisticsandblazordotnet5.azureedge.net/
.NET 3 (Core) - https://statisticsandblazordotnetcore3.azureedge.net/
Source Code: https://github.com/bartczernicki/Test-Blazor-WebAssembly-StatisticsAndML-DotNet6
Posted on February 18, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.