this is a substantially faster linker which should yield some speedups
for our builds
Depends on D6654
this is a substantially faster linker which should yield some speedups
for our builds
Depends on D6654
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Nice! Never tested efl with the gold linker myself. Glad that it works out of the box and gives us some speed improvements.
maybe using clang and ld.lld would also be worth a try (lld should be even much faster than gold, and clang should also be at least a little bit faster)
I actually benchmarked lld vs gold vs ld on the src/examples/ directory linking and the results were extremely underwhelming. On my local machine it was something like 5mins for gold and 4:45-4:50 for lld--basically within the margin of error. Not worthwhile at all considering the docker image space required.
The compiler itself is actually not much of a bottleneck; ccache results in near 100% direct cache hits on an average build, meaning that the compiler is almost never called. Linking takes far, far longer.