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

[Feature] Add cargo risczero benchmark command #1301

Open
Cardosaum opened this issue Jan 8, 2024 · 0 comments · May be fixed by #1302
Open

[Feature] Add cargo risczero benchmark command #1301

Cardosaum opened this issue Jan 8, 2024 · 0 comments · May be fixed by #1302
Assignees
Labels
enhancement New feature or request

Comments

@Cardosaum
Copy link
Contributor

Feature

Add a new command under cargo risczero called benchmark that will be responsible to prove a predefined guest code (bench) and report timings on execution, proving and lifting steps.

Motivation

We have an internal way to show local proving timings by running the loop example.
Its usage is not well documented and there's not much visibility around it as well. By providing a specific command under cargo risczero we would allow users to quickly run a benchmark on computing time in their machines, without necessarily downloading and compiling from source.

Implementation

Leverage the already existing bench guest code, and the code on loop example in order to create a standalone command bench under cargo risczero


Related issues:
#1245

@Cardosaum Cardosaum added the enhancement New feature or request label Jan 8, 2024
@Cardosaum Cardosaum self-assigned this Jan 8, 2024
@Cardosaum Cardosaum linked a pull request Jan 8, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant