Find time taken for same code between .NET5 and .NET6 in ASP.NET Core Blazor App.
.NET 5 Time taken 210.2811 milliseconds
.NET 6 Time taken 79274.2204 milliseconds
- Open solution or proj file under
Console App
folder. - Run the app where you can see performance in console.
- Now change the target framework in project file and see difference between .NET 5 and .NET 6.
- Open
LambdaPerformance_NET6.sln
for running .NET 6 Blazor App andLambdaPerformance_NET5.sln
for running .NET 5 Blazor App. - Place break appoint in
Filter
method of~Pages\Index.razor
file.
- Run the app and check value in
Timetaken
.