-
-
Notifications
You must be signed in to change notification settings - Fork 317
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 compared to EF6.Extended #113
Comments
Hello @ksmithRenweb , Thank you for reporting this benchmarks, but I'm not sure what you are seeking with this thread. Is there a question? Best Regards, Jonathan |
Then what I am seeking is that there would not be a significant performance loss when using your future framework. In the case where only a single call query is made, there is a significant performance loss. |
Thank you, That is very clear now ;) |
Hello @ksmithRenweb , Thank a lot for the help. Tomorrow I should have enough free time to verify & merge your PR. I will try to make some optimization as well. Best Regards, Jonathan |
Hello @ksmithRenweb , The v1.4.26 has been released. Thank you for your contribution. We removed the need for the interface in your PR, but we kept the rest of your code. Let me know about new performance. It should be similar to the PR you provided. Best Regards, Jonathan |
Hi Jonathan,
Your welcome. I’ll have to review what you did different, see if I can learn anything.
When should a new nuget package be realeased?
Thanks,
Kevin Smith
From: Jonathan Magnan [mailto:[email protected]]
Sent: Saturday, February 11, 2017 8:38 AM
To: zzzprojects/EntityFramework-Plus <[email protected]>
Cc: Smith, Kevin <[email protected]>; Mention <[email protected]>
Subject: Re: [zzzprojects/EntityFramework-Plus] Performance compared to EF6.Extended (#113)
Hello @ksmithRenweb<https://github.com/ksmithRenweb> ,
The v1.4.26 has been released.
Thank you for your contribution. We removed the need for the interface in your PR, but we kept the rest of your code.
Let me know about new performance. It should be similar to the PR you provided.
Best Regards,
Jonathan
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#113 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AWcDMTX8mTz84bSsPfOFRwgIC_6IvSS5ks5rbce2gaJpZM4Lx7hv>.
|
having reading difficulties this morning. |
It's Monday ;) |
Tested 1.4.28. Performance is similar to my last test. I consider this issue closed. |
While looking at the code. I think you need to shift a few lines around to maintain InMemory support. Currently: #if EF5 || EF6 So in the case where there is only 1 query and its an in memory. there will be an error. |
Hello @ksmithRenweb , You are right, thank you. I also added the Queries.Clear() before the return. What amuses me is performance is a little better in some of the cases than base EF CoreThat is often due to how benchmark has been created. Sometimes, only a very small mistake can make the difference. By example, if you make tests on EF Core before EFE Future, the first call made on EF Core will create and cache the query. All subsequent call (including our library) will use the cached version. Best Regards, Jonathan |
Performance as always is a broad issue but it is the key as to why a query batching library is so useful.
In some cases the queries don't need to be batched. In those cases, performance shouldn't be significantly different.
After that, here are the results of some performance testing. All these calls were averaged over a 100 runs. After running once to make sure the assemblies are loaded. All these calls have multiple joins. All these calls reached out to a sql server out on the network but it was the same db for all the calls. So the latency should be equivalent for all of them.
The text was updated successfully, but these errors were encountered: