Hasty Briefsbeta

Rust compiler performance survey 2025 results

a day ago
  • #Rust
  • #Compiler
  • #Performance
  • Rust Compiler Performance Survey received over 3,700 responses, highlighting the importance of build performance in the Rust community.
  • Overall satisfaction with build performance averaged 6 out of 10, with significant variance across workflows.
  • Incremental rebuilds after small changes were the most common complaint, with 55% of respondents waiting over 10 seconds for rebuilds.
  • Type checking and IDE performance, particularly with `cargo check` and Rust Analyzer, were noted as areas needing improvement.
  • Clean and CI builds were problematic for 20% of respondents, with issues around caching and disk usage.
  • Debug information generation was identified as a performance bottleneck, despite many respondents rarely using debuggers.
  • Workarounds for improving build performance, such as reducing dependencies and using alternative linkers, were effective but not widely known.
  • Understanding why builds are slow remains challenging due to limited tooling for profiling and diagnosing bottlenecks.
  • Future initiatives include stabilizing faster linkers, improving incremental rebuilds, and developing better diagnostic tools.