You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Feature
Add a new command under
cargo risczero
calledbenchmark
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 onloop
example in order to create a standalone commandbench
undercargo risczero
Related issues:
#1245
The text was updated successfully, but these errors were encountered: