4 ms·
My most CPU-intensive usage is compilation and "make -j8" is doing a pretty good job at scaling things to fully utilize my CPU. It's not about one program using
by dyingkneepad 3y ago
My most CPU-intensive usage is compilation and "make -j8" is doing a pretty good job at scaling things to fully utilize my CPU. It's not about one program using all your resources.
- jdsully 3y agoLinking is still super slow, especially if you use link time code generation.
- eklitzke 3y agoLTO basically just calls back into the compiler and is multi-threaded on lld and mold at least, and probably anything else that supports LTO. And make sure you're using ThinLTO, it's still expensive but much faster than full LTO.
- satvikpendem 3y agoHave you tried the mold linker? I've been using it and it works pretty well, quite fast. https://github.com/rui314/mold https://github.com/rui314/mold