diff options
| author | Simon Charette <charette.s@gmail.com> | 2024-11-16 23:34:11 -0500 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-12-11 13:56:18 +0100 |
| commit | 2638b75554d2624dca3062a8da113a47f855f2a2 (patch) | |
| tree | 369a438b4fae60d8ac8f96445f485deb66f36d41 /tests/backends/postgresql/test_compilation.py | |
| parent | 918e7a2c766e67144f1e2bfcc029abe16ce28f54 (diff) | |
Refs #35936 -- Avoided field placeholder lookup for each value inserted.
By building the list of placeholders for each inserted fields once it
doesn't have to be looked up for each inserted rows twice.
The query_values_10000.benchmark.QueryValues10000.time_query_values_10000 ASV
benchmark showed a 5% speed up for 10k items on SQLite for a single field
insertion. Larger performance gains are expected when more fields are involved.
Diffstat (limited to 'tests/backends/postgresql/test_compilation.py')
0 files changed, 0 insertions, 0 deletions
