rust-lang / rust-lang/rustc-perf
We should try to deduplicate dep trees between benchmarches.
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 732
- Forks
- 189
- Avg merge
- 10h 52m
- Merged PRs (30d)
- 43
Description
A global build cache (to avoid a common workspace) would be great but probably hard.
The next best thing is likely allowing a single workspace to have multiple benchmarks, and using a single target directory for building their dependencies (e.g. the Servo crates might benefit from this).
We can also try to reuse -debug artifacts for -check builds, further reducing times (although that might be harder, since --emit=metadata produces rmetas different from --emit=metadata,link, and cargo check likely still can't use regular artifacts).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining how benchmarks currently obtain separate workspaces and dependency target directories; the issue names no files or tests. Compare the proposed shared workspace and target directory approach with reuse of -debug artifacts for -check builds. Done means benchmark dependency trees are deduplicated without invalid artifact reuse.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100