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

ppoprf: Use a fixed server and point for eval benchmarks #338

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Conversation

rillian
Copy link
Contributor

@rillian rillian commented Nov 20, 2023

For the puncture benchmark it's important to have a fresh server state for each run, but for evaluations it doesn't really make sense to create a new private key for each evaluation. In a normal application that cost would be amortized over many evaluations.

Hoist these constants out of the benchmark loop for more relevant timing measurements.

For the puncture benchmark it's important to have a fresh server
state for each run, but for evaluations it doesn't really make
sense to create a new private key for each evaluation. In a
normal application that cost would be amortized over many
evaluations.
@rillian rillian self-assigned this Nov 20, 2023
@rillian rillian requested a review from a team as a code owner November 20, 2023 23:02
@rillian rillian enabled auto-merge November 20, 2023 23:04
Copy link
Member

@claucece claucece left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@rillian rillian merged commit bdbc76f into main Nov 21, 2023
10 checks passed
@rillian rillian deleted the ppoprf-bench branch November 21, 2023 12:52
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