# Wild linker's benchmark gap with Mold traced to test setup, not speed

Original title: Benchmarking Wild vs. Mold

> Hacker News story 49774000 · language: en · submitted 2026-09-20
> Web version: https://zeli.app/story/49774000
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 47 · by [birdculture](<https://news.ycombinator.com/user?id=birdculture>) · 💬 1
[original](<https://davidlattimore.github.io/posts/2026/09/18/benchmarking-wild-vs-mold.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49774000>)

## Summary

When Mold's updated linker benchmarks showed Wild substantially slower, Wild's author investigated. The main culprit: Mold's benchmarks delete the output file and use ext4, while Wild's used tmpfs and kept the file. Wild also lacked OS-specific tweaks like fallocate and hugepages, now added. After reproducing Mold's results on an M1, the author found Mold's recent 2.42.0/2.42.1 releases got considerably faster, explaining the rest of the gap.

## Key quote

> Wild, at least the version benchmarked here, does best when allowed to fork and when the output already exists and is on tmpfs. i.e. the opposite of the configuration used in the Mold benchmarks.

---

## Cite

- Page: https://zeli.app/story/49774000
- Date: 2026-09-20
- Source: davidlattimore.github.io (https://davidlattimore.github.io/posts/2026/09/18/benchmarking-wild-vs-mold.html)
- Hacker News: https://news.ycombinator.com/item?id=49774000

## Other languages

- zh: https://zeli.app/zh/story/49774000 · markdown: https://zeli.app/zh/story/49774000.md
- ja: https://zeli.app/ja/story/49774000 · markdown: https://zeli.app/ja/story/49774000.md
- ko: https://zeli.app/ko/story/49774000 · markdown: https://zeli.app/ko/story/49774000.md
- de: https://zeli.app/de/story/49774000 · markdown: https://zeli.app/de/story/49774000.md
- es: https://zeli.app/es/story/49774000 · markdown: https://zeli.app/es/story/49774000.md
- ru: https://zeli.app/ru/story/49774000 · markdown: https://zeli.app/ru/story/49774000.md
