Some questions about JIT optimization - Mailing list pgsql-hackers

From ywgrit
Subject Some questions about JIT optimization
Date
Msg-id CAPt2h2aWf7QPg81+Wq78Z-88ybHvSKefoSXMidiFpgMbJZJvMg@mail.gmail.com
Whole thread Raw
Responses Re: Some questions about JIT optimization
List pgsql-hackers

Presentation: https://anarazel.de/talks/2018-06-01-pgcon-state-of-jit/state-of-jit.pdf. It mentions “Future things to JIT: Aggregate & Hashjoin hash computation.” I'm not entirely clear where this optimization specifically manifests. I tested tpch-100G. Performance improvements for q5/11 were minimal because expression execution constitutes a very small proportion in these two queries, leaving little room for JIT optimization. Both queries share common hot functions: `ExecParallelScanHashBucket` and `ExecParallelHashJoin`. However, I don't see how these hot functions could be optimized via JIT. I'd appreciate hearing everyone's thoughts. 

Thanks.

pgsql-hackers by date:

Previous
From: "Zhijie Hou (Fujitsu)"
Date:
Subject: RE: Newly created replication slot may be invalidated by checkpoint
Next
From: ocean_li_996
Date:
Subject: Re:Fix logical decoding not track transaction during SNAPBUILD_BUILDING_SNAPSHOT