Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Optimize tau generation with PowPolynomial in snark.rs (#343)
- Imported and implemented `PowPolynomial` into `src/spartan/snark.rs`, - Simplified and optimized `tau` variable generation using `PowPolynomial`, decreasing the transcript use, - Adjusted `tau` variable generation method in `prove` and `verify` functions Fixes #155
- Loading branch information
4b47563
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/8030903608
Benchmark Results
RecursiveSNARK-NIVC-2
ref=74792f9
ref=4b47563
Prove-NumCons-6540
45.12 ms
(✅ 1.00x)45.81 ms
(✅ 1.02x slower)Verify-NumCons-6540
34.86 ms
(✅ 1.00x)34.78 ms
(✅ 1.00x faster)Prove-NumCons-1028888
321.17 ms
(✅ 1.00x)322.59 ms
(✅ 1.00x slower)Verify-NumCons-1028888
251.79 ms
(✅ 1.00x)249.58 ms
(✅ 1.01x faster)CompressedSNARK-NIVC-Commitments-2
ref=74792f9
ref=4b47563
Prove-NumCons-6540
10.78 s
(✅ 1.00x)10.66 s
(✅ 1.01x faster)Verify-NumCons-6540
51.09 ms
(✅ 1.00x)51.10 ms
(✅ 1.00x slower)Prove-NumCons-1028888
52.70 s
(✅ 1.00x)53.26 s
(✅ 1.01x slower)Verify-NumCons-1028888
51.58 ms
(✅ 1.00x)51.02 ms
(✅ 1.01x faster)Made with criterion-table