pgx/internal/stmtcache
Jack Christensen e7aa76ccf9 SendBatch now uses pipeline mode to prepare and describe statements
Previously, a batch with 10 unique parameterized statements executed
100 times would entail 11 network round trips. 1 for each prepare /
describe and 1 for executing them all. Now pipeline mode is used to
prepare / describe all statements in a single network round trip. So it
would only take 2 round trips.
2022-07-09 09:32:36 -05:00
..
lru_cache.go SendBatch now uses pipeline mode to prepare and describe statements 2022-07-09 09:32:36 -05:00
stmtcache.go SendBatch now uses pipeline mode to prepare and describe statements 2022-07-09 09:32:36 -05:00
unlimited_cache.go SendBatch now uses pipeline mode to prepare and describe statements 2022-07-09 09:32:36 -05:00