How Mitts Makes Parallel Rust Builds Faster Than Cargo
12 rustls worktrees on Linux x86_64: Cargo 3 min 42 s, Mitts 9.3 s. How shared caches reuse build work, and where Cargo still wins.
Cargo takes minutes to complete parallel Rust builds, while Mitts takes seconds. The key difference lies in the batch completion time, which measures how quickly all the build artifacts are ready for verification. In a study with twelve rustls worktrees on Linux x86_64, Cargo took 3 minutes and 42 seconds, while Mitts completed the entire batch in just 9.3 seconds.
This represents the total time it takes for the batch, not the time for the first worktree to finish. The study used a heavy project from The Hundred, with shared caches prewarmed and local targets empty, to demonstrate the speed difference.
Rewritten by urgent.news; may contain errors — check the original.
Source: hackernoon.com