Skip to content

bp256: add ProjectivePoint benchmarks - #1588

Merged
tarcieri merged 1 commit into
masterfrom
bp256/projective-point-benchmarks
Jan 7, 2026
Merged

bp256: add ProjectivePoint benchmarks#1588
tarcieri merged 1 commit into
masterfrom
bp256/projective-point-benchmarks

Conversation

@tarcieri

@tarcieri tarcieri commented Jan 7, 2026

Copy link
Copy Markdown
Member

Uses the elliptic_curve::bench_projective! macro introduced in RustCrypto/traits#2177 to run a set of benchmarks against ProjectivePoint, including point addition, negation, and scalar multiplication.

After this we can roll out all of the benchmark macros added to bp256 to the curves which currently don't have any, and use the macros to replace some of the existing tests in the ones that do.

Uses the `elliptic_curve::bench_projective!` macro introduced in
RustCrypto/traits#2177 to run a set of benchmarks against
`ProjectivePoint`, including point addition, negation, and scalar
multiplication.

After this we can roll out all of the benchmark macros added to `bp256`
to the curves which currently don't have any, and use the macros to
replace some of the existing tests in the ones that do.
@tarcieri
tarcieri merged commit d4fa704 into master Jan 7, 2026
162 checks passed
@tarcieri
tarcieri deleted the bp256/projective-point-benchmarks branch January 7, 2026 16:31
tarcieri added a commit that referenced this pull request Jan 7, 2026
Adds benchmarks written with the `primefield::bench_field!` and
`elliptic_curve::bench_projective!` macros, ala the ones introduced
to `bp256` in #1587 and #1588
@tarcieri tarcieri mentioned this pull request Jan 7, 2026
tarcieri added a commit that referenced this pull request Jan 7, 2026
Adds benchmarks written with the `primefield::bench_field!` and
`elliptic_curve::bench_projective!` macros, ala the ones introduced
to `bp256` in #1587 and #1588
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.

1 participant