C++ (especially template heavy with lots of headers and so on) is certainly not fast to compile. But 2 hours that's crazy. What sort of codebase and on what kind of machine?
A 128 cores threadripper is a great workstation to compile C++ code fast :D
A 128 cores threadripper is a great workstation to compile C++ code fast :D
(Unless a hypothetical Node.js rewrite would be comparable on speed. I wonder how it would do on memory.)
My system has a 3900x, 32GB ram, and a fast NVME SSD for reference.
The last chromium build took 1h:45m to complete. This build had LTO enabled and -j18 passed to ninja.
Without LTO it would probably be closer to an hour I think but I don't seem to have a non-LTO build in the logs.
Your estimation seems pretty accurate!