bazelbuild / bazelbuild/rules_rust

fastbuild has become slow

Open
#1,093 8 comments 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

I'm seeing a 5x slowdown building my crate with #1091.

Building with latest main:

> 38.153 s 92.26% action 'Compiling Rust rlib anki (198 files)'

After reverting #1091:

> 7.646 s 83.10% action 'Compiling Rust rlib anki (198 files)'

Building my crate in release mode is actually faster than opt level 1:

> 26.012 s 92.79% action 'Compiling Rust rlib anki (198 files)'

Perhaps my crate is an outlier here, but I thought I should mention it, as it's more than "very slightly" :-)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.