Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Bench client ivc proof verification (#7553)
Wires the `verify_client_ivc` bb call to the BBVerifier in ts (which still needs love so we don't read the vk from the tx object), and runs it multiple times as part of the full prover e2e to benchmark how much it takes to verify a client ivc proof. Outputs event logs like the following, though they are not yet loaded by bench-aggregate: ``` {"circuitName":"private-kernel-tail-to-public","duration":3640.18761600001,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:19.785Z"} {"circuitName":"private-kernel-tail","duration":3630.627105999971,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:23.419Z"} {"circuitName":"private-kernel-tail-to-public","duration":3636.371545000002,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:27.057Z"} {"circuitName":"private-kernel-tail","duration":3561.3480010000058,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:30.620Z"} {"circuitName":"private-kernel-tail-to-public","duration":3588.0015310000163,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:34.211Z"} {"circuitName":"private-kernel-tail","duration":3610.198040999996,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:37.824Z"} {"circuitName":"private-kernel-tail-to-public","duration":3569.164287999971,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:41.396Z"} {"circuitName":"private-kernel-tail","duration":3557.741927999945,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:44.955Z"} {"circuitName":"private-kernel-tail-to-public","duration":3568.2085040000384,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:48.526Z"} {"circuitName":"private-kernel-tail","duration":3557.740408999962,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:52.088Z"} {"circuitName":"private-kernel-tail-to-public","duration":3568.786586000002,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:55.659Z"} {"circuitName":"private-kernel-tail","duration":3559.4025660000043,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:37:59.221Z"} {"circuitName":"private-kernel-tail-to-public","duration":3567.728372999991,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:02.792Z"} {"circuitName":"private-kernel-tail","duration":3566.036272999947,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:06.362Z"} {"circuitName":"private-kernel-tail-to-public","duration":3569.9772229999653,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:09.935Z"} {"circuitName":"private-kernel-tail","duration":3561.0968479999574,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:13.499Z"} {"circuitName":"private-kernel-tail-to-public","duration":3569.0639850000152,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:17.071Z"} {"circuitName":"private-kernel-tail","duration":3562.8168169999844,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:20.639Z"} {"circuitName":"private-kernel-tail-to-public","duration":3568.064185999974,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:24.209Z"} {"circuitName":"private-kernel-tail","duration":3558.7975469999947,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:27.771Z"} {"circuitName":"private-kernel-tail","duration":3616.5346459999564,"eventName":"circuit-verification","level":"debug","message":"ClientIVC verification successful","namespace":"aztec:bb-verifier","proofType":"client-ivc","timestamp":"2024-07-22T19:38:31.404Z"} ```
- Loading branch information