Closed
Description
Looking at https://aka.ms/dotnetperfstatus, there is a 140KB size regression in the default Blazor WASM app size between the following commits:
dotnet/runtime@6b83269...06228c1
SOD - New Blazor Template - Publish
SOD - New Blazor Template - Publish - AOT
We should investigate what change caused this size regression and if there is anything that can be done.
From looking at the charts, some of it comes from System.Private.CoreLib:
Before
After
But the biggest file that added here is System.Linq.Expressions.dll
. It isn't in the Before
, but in the After
it is over 100KB itself:
After
Maybe a new ASP.NET change now brings in Linq.Expressions by default? cc @SteveSandersonMS @captainsafia