Re: PostgreSQLv14 TPC-H performance GCC vs Clang

2021-11-02 Thread Imre Samu
> .. optimisation flags like O3 > And please suggest ... to check on the performance difference The Phoronix has been tested the PostgreSQL 13 with Clang 12 + GCC 11.1 On Xeon Ice Lake * "The CFLAGS/CXXFLAGS set throughout testing were "-O3 -march=native -flto" * * as would be common for HPC sy

PostgreSQLv14 TPC-H performance GCC vs Clang

2021-11-02 Thread arjun shetty
Hi PostgreSQLv14 source code build with GCCv11.2 and Clangv12(without JIT) with optimisation flags like O3 and tested with HammerDB Observed TPC-H , GCC performance better than Clang(without JIT). The performance difference ~22% and also noticed the assembly code difference GCC vs Clang( e.g. GCC