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

secp256k1: Add scalar base mult variant benchmarks. #3224

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Mar 19, 2024

This requires #3223.

This adds benchmarks for the recently added slow resource-constrained variant of ScalarBaseMult as well as an explicit one for the existing fast variant for comparison purposes.

ScalarBaseMultNonConstFast   64886   18242 ns/op    0 B/op   0 allocs/op
ScalarBaseMultNonConstSlow   13261   91696 ns/op   64 B/op   2 allocs/op

@davecgh davecgh added this to the 1.9.0 milestone Mar 19, 2024
@davecgh davecgh force-pushed the secp256k1_benchmarks_for_slow_fast_scalar_base_multi_variants branch from 272369f to 4352c2c Compare March 19, 2024 17:03
ScalarBaseMultNonConstFast   64886   18242 ns/op    0 B/op   0 allocs/op
ScalarBaseMultNonConstSlow   13261   91696 ns/op   64 B/op   2 allocs/op
@davecgh davecgh force-pushed the secp256k1_benchmarks_for_slow_fast_scalar_base_multi_variants branch from 4352c2c to 25adf60 Compare March 19, 2024 17:50
@davecgh davecgh merged commit 25adf60 into decred:master Mar 19, 2024
2 checks passed
@davecgh davecgh deleted the secp256k1_benchmarks_for_slow_fast_scalar_base_multi_variants branch March 19, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants