-
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.
refactor: Implement and integrate
rlc
function for simplified lin. …
…combination (#260) * refactor: Implement and integrate `rlc` function for simplified combination semantics - Introduced a new function `rlc`, which implements Horner's scheme, - Applied traits `Borrow`, `MulAssign`, and `AddAssign` to define it, which exist on `UniPoly`, - Used `rlc` function in `evaluate` method and `kzg_compute_batch_polynomial`, - Updated closures in `mlkzg.rs` file to directly handle vector arguments, simplifying the overall operations. - Streamlined the code by eliminating unnecessary assertions in `kzg_verify_batch` closure and redundant inner function in `kzg_compute_batch_polynomial`. * feat: change to an Iterator extension trait
- Loading branch information
1 parent
87327fd
commit def59e2
Showing
4 changed files
with
43 additions
and
32 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
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
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
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
def59e2
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/7547732801
Benchmark Results
RecursiveSNARKSuperNova-2circuit
ref=87327fdb9cc47fe3261dfb51c867c79c1d9eb0c7
Prove-StepCircuitSize-...
54.99 ms
(✅ 1.00x)Verify-StepCircuitSize...
32.99 ms
(✅ 1.00x)Prove-StepCircuitSize-... #2
348.28 ms
(✅ 1.00x)Verify-StepCircuitSize... #2
260.01 ms
(✅ 1.00x)CompressedSNARKSuperNova-Commitments-2circuit
ref=87327fdb9cc47fe3261dfb51c867c79c1d9eb0c7
Prove-Ste...
14.11 s
(✅ 1.00x)Verify-St...
79.07 ms
(✅ 1.00x)Prove-Ste... #2
113.41 s
(✅ 1.00x)Verify-St... #2
771.24 ms
(✅ 1.00x)Made with criterion-table