rust-lang / rust-lang/hashbrown
Cachegrind benchmarks
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3k
- Forks
- 358
- Avg merge
- 11h 57m
- Merged PRs (30d)
- 2
Description
Mostly just filing an issue for this as a reminder. I've had good success setting up benchmarks with gungraun and it seems like it could be an easy way to add some extra benchmarks to the suite which aren't as susceptible to background noise.
The perf tests for the compiler currently use cachegrind, presumably set up more manually, although this would be a way to set them up for more targeted hash table benchmarks.
I don't like the idea of setting benchmark thresholds in CI, but for ways of verifying performance improvements, it feels like a good idea.
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 reading the compiler performance tests that currently use cachegrind and compare their setup with gungraun. Determine how targeted hash table benchmarks could fit the existing suite without introducing CI benchmark thresholds. Done means the relevant benchmarks are added and provide a repeatable way to verify performance improvements.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100