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

argon2: add benchmarks using criterion #437

Merged
merged 3 commits into from
Jul 5, 2023

Conversation

dyc3
Copy link
Contributor

@dyc3 dyc3 commented Jul 3, 2023

I added some benchmarks using the criterion crate. The reason I chose to include criterion is because it makes it easier to determine if a change has a statistically significant impact.

I'm not really sure which benchmarks will produce good signal for us, so the parameters will probably need to be tweaked before merging. I'm open to suggestions.

@newpavlov
Copy link
Member

I would prefer to keep criterion benchmarks in a separate crate as we do in the stream ciphers repository to prevent criterion being pulled in our CI jobs.

Cargo.toml Outdated Show resolved Hide resolved
benches/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Member

@newpavlov newpavlov left a comment

Choose a reason for hiding this comment

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

Thank you!

@newpavlov newpavlov merged commit 795c424 into RustCrypto:master Jul 5, 2023
48 checks passed
@dyc3 dyc3 deleted the argon2-benchmarks branch July 5, 2023 14:28
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