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

make 'invalidate' benchmark shorter #3387

Merged
merged 2 commits into from
Mar 18, 2024
Merged

make 'invalidate' benchmark shorter #3387

merged 2 commits into from
Mar 18, 2024

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Mar 17, 2024

This is currently by far the slowest benchmark in our suite, taking >9s, when the second slowest takes 2.7s. So let's speed this up to 2.3s, making it still the second-slowest in the benchmark suite.

@saethlin any objections? Also, why is this called "invalidate"? It got added in #3083 but I can't figure out the point of that name even after looking at the PR.^^ There should be a comment in the benchmark explaining what it is testing.

@saethlin
Copy link
Member

🤔 We should probably just rename the benchmark something like range-iteration. I think the name is odd because I reduced it from something else. The benchmark exists now to generate a lot of work for the AllocId part of the GC.

@RalfJung
Copy link
Member Author

Makes sense, thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Mar 18, 2024

📌 Commit b3481a4 has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Mar 18, 2024

⌛ Testing commit b3481a4 with merge 850447d...

@bors
Copy link
Collaborator

bors commented Mar 18, 2024

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 850447d to master...

@bors bors merged commit 850447d into rust-lang:master Mar 18, 2024
8 checks passed
@RalfJung RalfJung deleted the bench branch March 19, 2024 06:54
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.

None yet

3 participants