Skip to content

Commit 45cedd9

Browse files
authored
update zk benchmarks with mainnet circuit constraint count (#33)
bench: update zk benchmarks with mainnet circuit constraint count
1 parent e87f98f commit 45cedd9

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pages/dev/parameter_setup.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ directly in git since they are small (around ~1 KB each).
2323
### Adding a new Proof
2424

2525
To add a _new_ circuit to the parameter setup, you should modify
26-
`tools/parameter-setup/src/main.rs` before running `cargo run`.
26+
`tools/parameter-setup/src/main.rs` before running `cargo run`.
2727

2828
Then edit `penumbra-proof-params` to reference the new parameters created in
2929
`proof-params/src/gen`.
@@ -36,17 +36,17 @@ We have benchmarks for all proofs in the `penumbra-bench` crate. You can run the
3636
cargo bench
3737
```
3838

39-
Performance as of commit `ce2d319bd5534fd28600227b28506e32b8504493` benchmarked on a 2023 Macbook Pro M2 (12 core CPU) with 32 GB memory and the `parallel` feature enabled:
39+
Performance as of commit `772fc69034907cddfca5e68b08ef92b016968d89` benchmarked on a 2023 Macbook Pro M2 (12 core CPU) with 32 GB memory and the `parallel` feature enabled:
4040

4141
| Proof | Number of constraints | Proving time |
4242
| -------- | ------- | ----- |
43-
| Spend | 34,630 | 388ms
44-
| Output | 13,875 | 130ms
45-
| Delegator vote | 36,723 | 389ms
46-
| Undelegate claim | 14,776 | 139ms
47-
| Swap | 25,700 | 237ms
48-
| SwapClaim | 37,061 | 379ms
49-
| Nullifier derivation | 394 | 15ms
43+
| Spend | 35,978 | 433ms
44+
| Output | 13,875 | 142ms
45+
| Delegator vote | 38,071 | 443ms
46+
| Undelegate claim (`ConvertCircuit`) | 14,423 | 179ms
47+
| Swap | 25,704 | 272ms
48+
| SwapClaim | 46,656 | 456ms
49+
| Nullifier derivation | 394 | 17ms
5050

5151
## zk-SNARK Ceremony Benchmarks
5252

0 commit comments

Comments
 (0)