This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
LLVM compilation ~2-3x slower than it should be #1173
Labels
performance
Performance related issues or changes.
Summary:
I was playing around with full JIT execution and noticed some significant compilation times for simple queries. I did a little digging and found at least 2x slowdown in LLVM compilation in NoisePage in comparison to the TPL repo. Below is a comparison of compilation times for all sample TPL files between NoisePage and the TPL repo:
These are non-SQL files, but I expect similar results for the TPC-H and SSB benchmark queries, if not greater slowdowns.
Probable causes:
VM_HOT
to force inlining when they shouldn't be (example). These should be markedVM_COLD
and implemented in the CPP file remove header includes.The text was updated successfully, but these errors were encountered: