[llvm-dev] llvm and clang are getting slower

Richard Smith via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 8 10:42:51 PST 2016


On Tue, Mar 8, 2016 at 8:13 AM, Rafael EspĂ­ndola
<llvm-dev at lists.llvm.org> wrote:
> I have just benchmarked building trunk llvm and clang in Debug,
> Release and LTO modes (see the attached scrip for the cmake lines).
>
> The compilers used were clang 3.5, 3.6, 3.7, 3.8 and trunk. In all
> cases I used the system libgcc and libstdc++.
>
> For release builds there is a monotonic increase in each version. From
> 163 minutes with 3.5 to 212 minutes with trunk. For comparison, gcc
> 5.3.2 takes 205 minutes.
>
> Debug and LTO show an improvement in 3.7, but have regressed again in 3.8.

I'm curious how these times divide across Clang and various parts of
LLVM; rerunning with -ftime-report and summing the numbers across all
compiles could be interesting.


More information about the llvm-dev mailing list