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

Add benchmark #8

Merged
merged 4 commits into from
Nov 25, 2020
Merged

Add benchmark #8

merged 4 commits into from
Nov 25, 2020

Conversation

weikengchen
Copy link
Member

This PR adds a benchmark for measuring the proving and verifying time.

@Pratyush
Copy link
Member

I would not use criterion for this; it’s unnecessary when you have low variance (which is the case for SNARK benchmarks. (Also, either way it should be in dev-dependencies)

@weikengchen
Copy link
Member Author

The reason why it is not in dev-dependencies is due to no_std, for which I need to make it optional, and it therefore goes to the main dependencies.

@weikengchen
Copy link
Member Author

And I will update the implementation to directly use time::Instant

@weikengchen weikengchen merged commit 6f3b85f into master Nov 25, 2020
@weikengchen weikengchen deleted the add-benches branch November 25, 2020 22:57
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