Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 892 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 892 Bytes

Queryable.Where causing performance issue in .NET 6

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

Replication Steps using simple console app

  1. Open solution or proj file under Console App folder.
  2. Run the app where you can see performance in console.
  3. Now change the target framework in project file and see difference between .NET 5 and .NET 6.

Replication steps in Blazor App

  1. Open LambdaPerformance_NET6.sln for running .NET 6 Blazor App and LambdaPerformance_NET5.sln for running .NET 5 Blazor App.
  2. Place break appoint in Filter method of ~Pages\Index.razor file.

image

  1. Run the app and check value in Timetaken.