Re:Look ma, I wrote a new JIT compiler for PostgreSQL
by can3p on Monday March 18, 2024 @09:24AM
(#39744123)
Nice post, thanks! Do I read it right that using jit results in the worst max times? What could be a reason in your opinion?
[ Parent
| on HN ]
Re:Look ma, I wrote a new JIT compiler for PostgreSQL
by pinaraf on Monday March 18, 2024 @09:35AM
(#39744269)
Two parts: I did the benchmark on a laptop and didn't spend enough time forcing its runtime PM in a fixed state, I'll run a real pgbench on my desktop once I implement all required opcodes for it. And since JIT requires a minimum amount of time (about 300us on my tests), on such small runtimes this can quickly overcome the benefits.