The Rust team analyzed over 3,700 responses from their first compiler performance survey, revealing that incremental rebuilds after small changes are the biggest pain point for developers. While average satisfaction was 6/10, 55% of respondents wait over 10 seconds for rebuilds. Key issues include unnecessary workspace rebuilds, slow linking phases, and non-incremental compilation steps. The team is addressing these through faster default linkers (LLD), improved caching, and experimental features like hint-mostly-unused. They're also creating an official build performance guide and working on better profiling tools to help developers identify bottlenecks.

18m read timeFrom blog.rust-lang.org
Post cover image
Table of contents
Overall satisfactionImportant workflowsDebug informationWorkarounds for improving build performanceUnderstanding why builds are slowWhat's next
1 Comment

Sort: