Skip to content

Avoid recomputation of the credential public key during verification#15

Merged
mmaker merged 2 commits intoooni:mainfrom
nategraf:victor/opt-oct15
Oct 19, 2025
Merged

Avoid recomputation of the credential public key during verification#15
mmaker merged 2 commits intoooni:mainfrom
nategraf:victor/opt-oct15

Conversation

@nategraf
Copy link
Copy Markdown
Contributor

A did a round of profiling and optimization on the benchmark. I found that recomputaion of public key (i.e. public parameters) took about 10% of the runtime for handle_submit after sigma-rs/sigma-proofs#98

  • Add a set_keypair function to avoid recomputation of the public key.
  • Fix a build error and some clippy warnings.

@mmaker mmaker merged commit 27af62d into ooni:main Oct 19, 2025
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.

2 participants