forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit328c709
committed
Optimize RelationFindReplTupleSeq() for CLOBBER_CACHE_ALWAYS.
Specifically, remember lookup_type_cache() results instead of retrievingthem once per comparison. Under CLOBBER_CACHE_ALWAYS, this reducedsrc/test/subscription/t/001_rep_changes.pl elapsed time by an order ofmagnitude, which reduced check-world elapsed time by 9%.Discussion:https://postgr.es/m/20200406085420.GC162712@rfd.leadboat.com1 parent4216858 commit328c709
1 file changed
+18
-8
lines changedLines changed: 18 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
225 | 225 |
| |
226 | 226 |
| |
227 | 227 |
| |
228 |
| - | |
| 228 | + | |
| 229 | + | |
229 | 230 |
| |
230 | 231 |
| |
231 | 232 |
| |
| |||
256 | 257 |
| |
257 | 258 |
| |
258 | 259 |
| |
259 |
| - | |
260 |
| - | |
261 |
| - | |
262 |
| - | |
263 |
| - | |
264 |
| - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
265 | 272 |
| |
266 | 273 |
| |
267 | 274 |
| |
| |||
290 | 297 |
| |
291 | 298 |
| |
292 | 299 |
| |
| 300 | + | |
293 | 301 |
| |
294 | 302 |
| |
295 | 303 |
| |
296 | 304 |
| |
297 | 305 |
| |
298 | 306 |
| |
| 307 | + | |
| 308 | + | |
299 | 309 |
| |
300 | 310 |
| |
301 | 311 |
| |
| |||
309 | 319 |
| |
310 | 320 |
| |
311 | 321 |
| |
312 |
| - | |
| 322 | + | |
313 | 323 |
| |
314 | 324 |
| |
315 | 325 |
| |
|
0 commit comments
Comments
(0)