forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit32af96b
committed
JIT tuple deforming in LLVM JIT provider.
Performing JIT compilation for deforming gains performance benefitsover unJITed deforming from compile-time knowledge of the tupledescriptor. Fixed column widths, NOT NULLness, etc can be takenadvantage of.Right now the JITed deforming is only used when deforming tuples aspart of expression evaluation (and obviously only if the descriptor isknown). It's likely to be beneficial in other cases, too.By default tuple deforming is JITed whenever an expression is JITcompiled. There's a separate boolean GUC controlling it, but that'sexpected to be primarily useful for development and benchmarking.Docs will follow in a later commit containing docs for the whole JITfeature.Author: Andres FreundDiscussion:https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de1 parent64f8589 commit32af96b
File tree
17 files changed
+827
-3
lines changed- src
- backend
- access/common
- executor
- jit
- llvm
- optimizer/plan
- utils/misc
- include
- access
- executor
- jit
- nodes
17 files changed
+827
-3
lines changedLines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1556 | 1556 |
| |
1557 | 1557 |
| |
1558 | 1558 |
| |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + |
Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2287 | 2287 |
| |
2288 | 2288 |
| |
2289 | 2289 |
| |
| 2290 | + | |
2290 | 2291 |
| |
2291 | 2292 |
| |
2292 | 2293 |
| |
2293 | 2294 |
| |
2294 | 2295 |
| |
2295 | 2296 |
| |
| 2297 | + | |
2296 | 2298 |
| |
2297 | 2299 |
| |
2298 | 2300 |
| |
2299 | 2301 |
| |
2300 | 2302 |
| |
2301 | 2303 |
| |
| 2304 | + | |
2302 | 2305 |
| |
2303 | 2306 |
| |
2304 | 2307 |
| |
| |||
3250 | 3253 |
| |
3251 | 3254 |
| |
3252 | 3255 |
| |
| 3256 | + | |
3253 | 3257 |
| |
3254 | 3258 |
| |
3255 | 3259 |
| |
3256 | 3260 |
| |
| 3261 | + | |
3257 | 3262 |
| |
3258 | 3263 |
| |
3259 | 3264 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
896 | 896 |
| |
897 | 897 |
| |
898 | 898 |
| |
| 899 | + | |
899 | 900 |
| |
900 | 901 |
| |
901 | 902 |
| |
|
Lines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
186 | 186 |
| |
187 | 187 |
| |
188 | 188 |
| |
189 |
| - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
190 | 194 |
| |
191 | 195 |
| |
192 | 196 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
| 41 | + | |
41 | 42 |
| |
42 | 43 |
| |
43 | 44 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| 77 | + | |
77 | 78 |
| |
78 | 79 |
| |
79 | 80 |
| |
| |||
784 | 785 |
| |
785 | 786 |
| |
786 | 787 |
| |
| 788 | + | |
787 | 789 |
| |
788 | 790 |
| |
789 | 791 |
| |
|
0 commit comments
Comments
(0)