-
-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance Issue with EF Core 8.0 and Microsoft.EntityFrameworkCore.DynamicLinq Package #783
Comments
Related #781 |
Ok, but with the .NET 6.0 version this problem did not appear |
I did create an example project which uses MS SQL. And tested 6 and 8, not much difference: (The first query is indeed slower) .NET 6 (Release mode)
.NET 8 (Release mode)
See this PR for details |
@codepassion86 In order to limit this, you can build your own provider which implements IDynamicLinqCustomTypeProvider.cs where you only load the assemblies which are required for your application. |
@StefH |
@codepassion86 |
@StefH |
Closing this in favor of #790 |
1. Description
Hello @StefH
I am reaching out to you to report a performance issue encountered with version 8.0 of EF Core, specifically concerning the "Microsoft.EntityFrameworkCore.DynamicLinq ver. 8.3.10" package.
We have observed significant slowdowns (over a minute of waiting) when executing an order by on any query, even when dealing with a minimal number of results (even with just one record). This slowdown occurs only during the initial execution.
We would appreciate any guidance on how to resolve this issue or if there are any updates or alternative solutions available to improve the performance of this package.
Thank you in advance for your attention and assistance regarding this matter.
Best regards.
The text was updated successfully, but these errors were encountered: