Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move to fxhashmap for speed #409

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

move to fxhashmap for speed #409

wants to merge 1 commit into from

Conversation

klensy
Copy link

@klensy klensy commented Dec 20, 2024

This replaces few hashmaps to FxHashMaps, reducing instructions count for some workloads about x2. Memory consumption still bad (i mean, that it is currently bad, not that this pr changes this).

@davidhewitt
Copy link
Collaborator

Thanks for the PR. Can you share more specifics about how "bad" the memory consumption is?

With the reduction in instruction counts does this lead to a material improvement in wall time?

@klensy
Copy link
Author

klensy commented Dec 22, 2024

Memory issues was reported before: #383. With rustc repo, for example, over 8gb memory consumed before i cancelled run, only worked when i passed --depth flag, as suggested in linked issue.

As for walltime, i'll try to check it on examples from issues.

@klensy
Copy link
Author

klensy commented Dec 22, 2024

On repo from #380:
cargo outdated -d 12 master: 35s pr: 27s
cargo outdated -d 13 master: 48s pr: 35s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants