Stream: brlcad

Topic: mold linker


view this post on Zulip starseeker (Sep 20 2022 at 04:21):

Well well well... after a complete build with Ninja, there is a noticeable time benefit for incremental rebuilds using mold (Ubuntu Linux):

~/brlcad/build (main) $ touch ../src/libbu/log.c
~/brlcad/build (main) $ time ninja
real    0m21.276s
user    2m53.281s
sys 0m21.204s
~/brlcad/build (main) $ touch ../src/libbu/log.c
~/brlcad/build (main) $ time mold --run ninja
real    0m9.953s
user    0m29.163s
sys 0m4.268s

Last updated: Oct 09 2024 at 00:44 UTC