-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Microbenchmark perf regression in update benchmarks #27681
Comments
Confirmed that the memory regression is because of #27584, where SingularModificationCommandBatch starts to add the second command to the batch, only to immediately roll it back. Adding a pre-check instead of the post-check brings us back from 10MB to 8MB. The "operations per second" regression doesn't repro for me in the same way locally; I'll do the pre-check as above and follow up based on where the benchmark charts go after that. Note that the update pipeline microbenchmarks need to be fixed - we have an InvocationCount of 1, presumably because we use [IterationSetup] and [IterationCleanup]; these should not be used for microbenchmarks. I'll look at fixing this after the product fix. |
For better perf on SQLite (dotnet#27681) Also moves the handling of MaxBatchSize to ReaderModificationCommandBatch and does some cleanup.
For better perf on SQLite (dotnet#27681) Also moves the handling of MaxBatchSize to ReaderModificationCommandBatch and does some cleanup.
For better perf on SQLite (dotnet#27681) Also moves the handling of MaxBatchSize to ReaderModificationCommandBatch and does some cleanup.
For better perf on SQLite (#27681) Also moves the handling of MaxBatchSize to ReaderModificationCommandBatch and does some cleanup.
Note from triage: main regression fixed. |
Update, insert, delete:
I have some ideas...
The text was updated successfully, but these errors were encountered: