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 ACVM witness generation benchmarks for a set of test programs #6186

Open
TomAFrench opened this issue Oct 1, 2024 · 0 comments
Open
Assignees

Comments

@TomAFrench
Copy link
Member

It's very important for us to have performant ACVM execution as this is required to prevent witness generation from being a bottleneck for proof generation.

We currently have some minor benchmarking for ACVM execution in this file. This boils down to use essentially timing the CLI command nargo execute --force for 3 of our test functions.

This has a couple problems:

  • nargo execute --force is recompiling the circuit from scratch each time so we're benchmarking much more than just execution speed
  • We're running nargo in a subprocess so we don't get any useful data out of the flamegraph which is generated.

Ideally we would have benchmarks which would:

We can do this for a single Noir program to begin with and then roll it out to a decently sized suite in future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants