-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update connection strings used for ASP.NET Core #6568
Update connection strings used for ASP.NET Core #6568
Conversation
When it's merge we'll need to compare all the results, since TE runs with different number of connections, while our internal ones have a fixed number (256). |
Update EF is broken. Pretty sure I had disabled it and filed an issue on EF with the concern. Like it's detecting an object doesn't need to change and is not sending the update. The TE CI steps counts the expected statements. |
@sebastienros don't remember anything about this... We don't have update EF in aspnet/Benchmarks, right? In any case, EF would be pretty slow here, with the entire change tracking mechanism coming into play :) |
@roji right, that's why I was pretty sure I had disabled it. @NinoFloris can you remove the two ef-updates sections in the |
And probably also |
@sebastienros done, it needs an approval to run CI |
@sebastienros it's green! |
What about all the others? 😉 |
In my benchmark run for #6566 (also discussed there), the RAW Excerpt from benchmark run
We have the same issue with the MySQL benchmarks, also the RAW ones (see PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#1408 (comment)), but someone did implement a (suboptimal but "working") error margin for them in the past, so they don't fail verification. (I also checked for MySQL, whether UPDATE commands that don't need to actually change anything are counted, which is the case.) So I am questioning, that this is an EF Core issue. I think it is a database status variable counting issue. (Though the fact that this would be an issue in two different database servers is a bit odd. If it is not, it might be a timing related issue.)
That is more of a reason to expose it with a benchmark, so users can make informed decisions on what ORM to use for their particular needs. |
Am definitely not saying we should make it work. Are you working in that area as well for MySQL? |
[Will restructure this.] |
Pending merge aspnet/Benchmarks#1667 (review)
Updates connection strings to use a tuned maximum of db connections, and enables multiplexing for non-platform scenarios.
/cc @sebastienros @benaadams @roji