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

Fix benches #142

Merged
merged 3 commits into from Jan 24, 2023
Merged

Fix benches #142

merged 3 commits into from Jan 24, 2023

Conversation

stepantubanov
Copy link
Contributor

@stepantubanov stepantubanov commented Nov 5, 2022

Fixes bench compilation error on M1. Seems like some of cfg directives were conflicting. I copied cfg of the implementation check from lib.rs.

Changed benches from hashing a const value to generating inputs at run-time.

@tkaitchuck tkaitchuck self-requested a review November 10, 2022 22:17
@tkaitchuck
Copy link
Owner

Changed benches from hashing a const value to generating inputs at run-time.

To clarify, the time to create the input is not included in the measured time, correct?

@stepantubanov
Copy link
Contributor Author

To clarify, the time to create the input is not included in the measured time, correct?

Yes, that's correct.

It seems to me that currently these benches are measuring throughput (because each hash computation is independent). I would like to add benches for latency, is that ok?

@tkaitchuck tkaitchuck merged commit fa13faf into tkaitchuck:master Jan 24, 2023
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

2 participants