-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat: add ec benchmark #147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, all the functions in the ec
module should be marked #[inline]
.
Signed-off-by: Boyuan Feng <bfeng9@wisc.edu>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! Minor comments
Signed-off-by: Boyuan Feng <bfeng9@wisc.edu>
- Rename `ec` to `ecc` - Add missing documentation lints - Use consistent `black_box` and let-binding drop rules for all `ecc` benchmarks - Fix `Cargo.toml` issues Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost done. @BoyuanFeng please add basic documentation to all the code including modules, structs, and functions (including benchmarks + tests). Also, @tsunrise please check if the black_box
rules are being followed correctly in the mint
, private_transfer
, and reclaim
benchmarks.
Summary
Add benchmarks for Arkworks elliptic curve operations.
Raw latency
CPU: @11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz
For a single point:
into_affine()
)For a vector of$2^{16}$ points:
Closes: #135
Before we can merge this PR, please make sure that all the following items have been checked off:
CHANGELOG.md
and added the appropriatechangelog
label to the PR.Files changed
in the GitHub PR explorer.CONTRIBUTING.md
.