-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement batch operations in non_hiding_kzg module (#269)
* feat: Implement batch operations in non_hiding_kzg module - Added a `batch_commit` method to generate multiple commitments from a list of polynomials. - Introduced a `batch_open` functionality for evaluating multiple polynomials at different points. - Implemented `batch_verify` function for validation of polynomial evaluations in a multi-commitment setup. - Verified the correctness of the batch operations with a new unit test `batch_check_test`. * fix: convert to zip_with syntax
- Loading branch information
1 parent
d6f4636
commit db4375f
Showing
1 changed file
with
140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db4375f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Benchmarks
Table of Contents
Overview
This benchmark report shows the Arecibo GPU benchmarks.
NVIDIA L4
Intel(R) Xeon(R) CPU @ 2.20GHz
32 vCPUs
125 GB RAM
Workflow run: https://github.com/lurk-lab/arecibo/actions/runs/7628113135
Benchmark Results
RecursiveSNARK-NIVC-2
ref=d6f4636
ref=db4375f
Prove-NumCons-6540
53.08 ms
(✅ 1.00x)52.89 ms
(✅ 1.00x faster)Verify-NumCons-6540
32.88 ms
(✅ 1.00x)32.67 ms
(✅ 1.01x faster)Prove-NumCons-1028888
344.08 ms
(✅ 1.00x)345.11 ms
(✅ 1.00x slower)Verify-NumCons-1028888
255.03 ms
(✅ 1.00x)259.37 ms
(✅ 1.02x slower)CompressedSNARK-NIVC-Commitments-2
ref=d6f4636
ref=db4375f
Prove-NumCons-6540
14.12 s
(✅ 1.00x)14.07 s
(✅ 1.00x faster)Verify-NumCons-6540
78.49 ms
(✅ 1.00x)79.59 ms
(✅ 1.01x slower)Prove-NumCons-1028888
112.11 s
(✅ 1.00x)111.98 s
(✅ 1.00x faster)Verify-NumCons-1028888
772.24 ms
(✅ 1.00x)780.08 ms
(✅ 1.01x slower)Made with criterion-table