FWIW, I ran some tests to compare "Make+GCC" build with "Ninja+Clang" build.
I ran the same compilations one after another for the 2 systems, which both built the same source tree in different out-source folders. Both have CCache enabled.
Below the raw results (in a raw format).
Code: Select all
Master 0afe01dc5e already compiled
Recompile same master 0afe01dc5e
->Make/GCC
real 0m3,153s
user 0m9,752s
sys 0m1,900s
->Ninja/Clang
real 0m0,266s
user 0m0,229s
sys 0m0,039s
Checkout PR4952 (raw, no rebasing)
->Make/GCC
real 43m8,760s
user 238m11,850s
sys 22m13,785s
->Ninja/Clang
real 24m13,313s
user 179m31,226s
sys 9m24,679s
Back to master updated at b8c1877133
->Make/GCC
real 3m21,477s
user 18m25,696s
sys 2m14,074s
->Ninja/Clang
real 2m18,222s
user 13m23,681s
sys 1m21,272s
Back to PR4952 (raw)
->Make/GCC
real 2m27,556s
user 13m6,548s
sys 1m44,797s
->Ninja/Clang
real 2m5,085s
user 11m47,028s
sys 1m16,159s
Back to master b8c1877133
->Make/GCC
real 2m25,116s
user 13m17,195s
sys 1m47,153s
->Ninja/Clang
real 2m2,533s
user 11m23,960s
sys 1m11,191s