Lobsters4 min readintermediate
Benchmarking Wild vs Mold
Summary
Reproduces Mold’s linker benchmarks on a 16‑core Ryzen, shows that configuration (filesystem, delete‑output, fork) explains most of the Wild vs Mold speed gap, and notes recent Mold releases and upcoming Wild tweaks that close the gap.
- Mold’s benchmarks delete the output file and use ext4; Wild’s original benchmarks kept the file on tmpfs – these choices can swing runtimes by ~30 %.
- Running with `--no‑fork` (Mold default) vs allowing fork (Wild default) also impacts measured time.
- When both linkers are run with the same ext4+delete+no‑fork setup, Wild is within ~20 % of Mold on the tested benchmarks.
- Mold’s recent 2.42.x releases delivered a noticeable speedup, narrowing the gap with Wild’s August 4th numbers.
Linker speed directly affects developer iteration time for large C/C++/Rust codebases. Understanding benchmark methodology prevents misleading performance claims and guides contributors on where to focus optimizations.
7/10


