ELSEIF
Your brief EB
420 stories from 200 feeds 1260 clusters Refreshed 10 minutes ago next pull 23:43

PERFORMANCE Signal 335

Mold's Linker Benchmarks Show Substantial Performance Advantage Over Wild

Illustration only Photo by Indra Projects on Unsplash

Comments

WHY IT MATTERS

The benchmarking results indicate significant performance discrepancies between Mold and Wild linkers. Understanding the causes of these differences is crucial for engineers choosing a linker for their projects, as it affects build efficiency and resource usage.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

Mold's benchmarks were run on different hardware and filesystem configurations compared to Wild's.

02

The performance differences are largely influenced by how output files are managed during the linking process.

03

Upcoming updates to Wild may address some of the performance gaps identified in recent benchmarks.

THE READ

What the cluster adds up to.

ORIGINAL ANALYSIS

The recent benchmarking results have revealed that Mold outperforms Wild in several scenarios. Mold's benchmarks were conducted using a 64 core Threadripper and an Apple M1 Ultra, while Wild's tests were limited to a 16 core Ryzen machine. This disparity in hardware capabilities likely contributes to the performance differences observed.

A critical factor affecting performance is the handling of output files. Mold's approach of deleting output files between runs contrasts with Wild's previous practice of using existing files on tmpfs. This can lead to significant discrepancies in linking times, especially as many users may not operate on tmpfs, making Mold's methodology more applicable to real-world scenarios.

The benchmarks also highlight that Wild's performance can improve by adopting Mold's techniques, such as using ext4 and the --no-fork option. These changes are expected to be incorporated into future releases of Wild, which could help close the performance gap between the two linkers.

Written by elseif from the cluster below · checked for specifics the sources never contained

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
davidlattimore.github.io via Lobsters Benchmarking Wild vs Mold Open ↗