3,000 TUs and our build times are an embarrassment
Hey. Im working on a monorepo that's grown to around 3k translation units and build times are hurting iteration speed. Currently on Make, been hearing good things about Ninja and haven't touched MSBuild outside of Visual Studio. Curious what people with large codebases are running.
Did some rough testing, single file changed, 16-core machine:
\# incremental build, 1 file changed, 3k TU project
make -j16 \~4.2s
ninja \~0.9s
msbuild /m:16 \~7.8s
Wondering if anyone's tried clang-cl with Ninja on Windows to sidestep the MSBuild overhead entirely. Also regularly maxing out local core count, which makes me wonder if we've hit a hardware ceiling?
https://redd.it/1tp3s5s
@r_cpp
Post #25291
21