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

Benches: call spin_loop() in two-threads/small #111

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

mgeier
Copy link
Owner

@mgeier mgeier commented Dec 16, 2023

I'm not sure if that makes sense for a benchmark, but in normal code that would be the least one would do while spinning.

This would need a MSRV bump to 1.49.

https://doc.rust-lang.org/std/hint/fn.spin_loop.html

@mgeier
Copy link
Owner Author

mgeier commented Apr 3, 2024

This would need a MSRV bump to 1.49.

I just realized that this is only used in the benchmarks, so I guess it wouldn't need a MSRV bump after all.

@mgeier mgeier marked this pull request as ready for review April 3, 2024 11:51
@mgeier mgeier merged commit 757ea3a into mgeier:main Apr 3, 2024
9 checks passed
@mgeier mgeier deleted the bench-spin_loop branch April 3, 2024 12:01
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.

1 participant