Why
We have no performance baseline for the recursive IVC circuit. Its prover dominates the IVC proving time and constrains the minimum epoch duration, which leaves us unable to detect regressions or to measure the impact of the optimizations we make.
What
Add Criterion benchmarks for the recursive IVC circuit prover and verifier in the mithril-stm library, following the structure of the existing halo2_snark benchmarks.
The benchmarks delegate to the production IVC proof-system code (setup, preparation, proving, verification, and accumulator folding) through a thin benchmark-internals-gated façade, so the measured operations are the same code paths run in production. They cover the small committed (degree-13) inner-certificate configuration across the three transition paths (genesis, same-epoch, next-epoch), including the off-circuit accumulator step, with cold and warm caches and the setup cost reported separately.
How
Why
We have no performance baseline for the recursive IVC circuit. Its prover dominates the IVC proving time and constrains the minimum epoch duration, which leaves us unable to detect regressions or to measure the impact of the optimizations we make.
What
Add Criterion benchmarks for the recursive IVC circuit prover and verifier in the
mithril-stmlibrary, following the structure of the existinghalo2_snarkbenchmarks.The benchmarks delegate to the production IVC proof-system code (setup, preparation, proving, verification, and accumulator folding) through a thin
benchmark-internals-gated façade, so the measured operations are the same code paths run in production. They cover the small committed (degree-13) inner-certificate configuration across the three transition paths (genesis, same-epoch, next-epoch), including the off-circuit accumulator step, with cold and warm caches and the setup cost reported separately.How
ivc_halo2_snarkbenchmark inmithril-stm/benches, gated behind thefuture_snarkandbenchmark-internalsfeatures, driven by abenchmark-internalsfaçade that delegates to the production IVC proof-system code (setup / preparation / proving / verification / accumulator)create_proof, Poseidon and Blake2b transcripts), excluding the non-recursive circuit prover and the preparation step from the measurementsSNARK bookwith the results