-
Notifications
You must be signed in to change notification settings - Fork 91
GetAuthors_Optimized Net7 EF7 #13
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
base: main
Are you sure you want to change the base?
Conversation
Implement GetAuthors_Optimized, add DeepEqual for verifying equality.
|
YAY! Glad to see, that someone tried compiled queries! I would also use pooled DB context for max perf and almost zero allocation, using static DB context is quite dangerous, if it would be used in all places in some kind of app, but I guess for this benchmark it's OK? |
|
@qjustfeelitp thanks for the feedback, the static context was for performance at any cost, but the pooling seems to add very little overhead. |


EF query tuning, including DeepEquals to ensure equivalent result.
Additional context and method for an indexed copy of the database.