Skip to content

bench: add sum-of-40 sumcheck benchmark#85

Open
albert-garreta wants to merge 5 commits intomainfrom
bench/sum-of-40-sumcheck
Open

bench: add sum-of-40 sumcheck benchmark#85
albert-garreta wants to merge 5 commits intomainfrom
bench/sum-of-40-sumcheck

Conversation

@albert-garreta
Copy link
Copy Markdown
Member

Summary

Add a new sumcheck benchmark that measures prover and verifier performance for the relation:

35331\sum_x \text{eq}(x, r) \cdot \sum_{i=1}^{40} a_i(x) = 035331

where the $a_i$'s are 40 randomly sampled MLEs over BinaryPoly<32>.

Details

  • Prover benchmark (Sum-of-40 Sumcheck Prover): times RFSumcheck::prove_as_subprotocol with 40 input polynomials and a linear combination function.
  • Verifier benchmark (Sum-of-40 Sumcheck Verifier): times RFSumcheck::verify_as_subprotocol on the resulting proof.
  • The 40 MLEs are pre-generated outside the benchmarked closure so only the sumcheck computation is measured.
  • Runs over MontyField<3> (192-bit) and MontyField<4> (256-bit) with witness sizes from $2^6$ to $2^{10}$.
  • Degree is 1 (linear combination).

Forward the simd feature from zinc-piop to zinc-poly, enabling
SIMD-optimized binary polynomial operations (NEON/AVX512) when
building the PIOP crate with --features simd.
Add a new benchmark that measures prover and verifier performance for the
relation sum_x eq(x,r) * sum_{i=1}^{40} a_i(x) = 0, where the a_i's are
randomly sampled MLEs over BinaryPoly<32>.

This complements the existing simple product benchmark with a more
realistic multi-polynomial linear combination sumcheck.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant