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 BLS benchmarks #1318

Merged
merged 5 commits into from
Apr 11, 2023
Merged

Add BLS benchmarks #1318

merged 5 commits into from
Apr 11, 2023

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Better observability into the cost of BLS aggregation + verification

How this works

Adds a benchmark

How this was tested

running the bencharm


keys[i] = PublicFromSecretKey(privateKey)
}

Choose a reason for hiding this comment

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

Do we want to reset the timer after the setup?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We use b.Run - so the timer isn't used for the outer benchmark.

Copy link

@danlaine danlaine left a comment

Choose a reason for hiding this comment

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

just a few nits

Copy link
Collaborator

@aaronbuchwald aaronbuchwald left a comment

Choose a reason for hiding this comment

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

🤝

@StephenButtolph StephenButtolph added this to the v1.10.0 (Cortina) milestone Apr 11, 2023
@StephenButtolph
Copy link
Contributor Author

Kurtosis Tests Basic / run_kurtosis_tests is currently failing because the docker image is based on a version of avalanchego with updated compatibility requirements... So that's expected.

@StephenButtolph StephenButtolph merged commit 87cbae8 into dev Apr 11, 2023
@StephenButtolph StephenButtolph deleted the crypto-benchmarks branch April 11, 2023 16:31
abi87 pushed a commit that referenced this pull request Apr 13, 2023
Co-authored-by: Aaron Buchwald <[email protected]>
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.

3 participants