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

add benchmark for deferred object drops #4179

Closed
wants to merge 1 commit into from

Conversation

davidhewitt
Copy link
Member

Testing #4174 and #4178, I thought this benchmark will be helpful.

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label May 12, 2024
fn criterion_benchmark(c: &mut Criterion) {
c.bench_function("drop_many_objects", drop_many_objects);
c.bench_function("deferred_drop_many_objects", deferred_drop_many_objects);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not an argument against adding this benchmark, but I fear we will need a multi-threaded benchmark to really measure the coherence traffic effects. This will be painful to do as a microbenchmark, but I fear we will be missing the larger picture without it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, we will probably need a couple of multi threaded benchmarks to model different usage patterns. In the end I had less time today than I was hoping, but I might be able to do some tomorrow.

@davidhewitt
Copy link
Member Author

Closing as I think we superseded this with benchmarks added in #4178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI-skip-changelog Skip checking changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants