-
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.
Optimising proving by avoiding recomputing final
Pi
polynomial in M…
…LKZG (#242) * feat: Avoid computing final 'Pi' polynomial which is constant * chore: Cleanup * chore: Latest suggestions
- Loading branch information
Showing
1 changed file
with
59 additions
and
30 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
6c0945e
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
125 GB RAM
Workflow run: https://github.com/lurk-lab/arecibo/actions/runs/7477000938
Benchmark Results
RecursiveSNARK
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
ref=6c0945e2f8fecde6a043abc1f8e033b144eaaa65
Prove-StepCircuitSize-0
43.08 ms
(✅ 1.00x)43.57 ms
(✅ 1.01x slower)Verify-StepCircuitSize-0
22.31 ms
(✅ 1.00x)22.33 ms
(✅ 1.00x slower)Prove-StepCircuitSize-6559
50.66 ms
(✅ 1.00x)50.69 ms
(✅ 1.00x slower)Verify-StepCircuitSize-6559
28.48 ms
(✅ 1.00x)28.40 ms
(✅ 1.00x faster)Prove-StepCircuitSize-22943
69.70 ms
(✅ 1.00x)69.88 ms
(✅ 1.00x slower)Verify-StepCircuitSize-22943
43.94 ms
(✅ 1.00x)43.59 ms
(✅ 1.01x faster)Prove-StepCircuitSize-55711
87.49 ms
(✅ 1.00x)87.48 ms
(✅ 1.00x faster)Verify-StepCircuitSize-55711
46.78 ms
(✅ 1.00x)47.02 ms
(✅ 1.01x slower)Prove-StepCircuitSize-121247
68.10 ms
(✅ 1.00x)68.10 ms
(✅ 1.00x faster)Verify-StepCircuitSize-121247
29.60 ms
(✅ 1.00x)29.34 ms
(✅ 1.01x faster)Prove-StepCircuitSize-252319
125.20 ms
(✅ 1.00x)95.83 ms
(✅ 1.31x faster)Verify-StepCircuitSize-252319
43.86 ms
(✅ 1.00x)44.05 ms
(✅ 1.00x slower)Prove-StepCircuitSize-514463
180.89 ms
(✅ 1.00x)170.35 ms
(✅ 1.06x faster)Verify-StepCircuitSize-514463
53.29 ms
(✅ 1.00x)53.52 ms
(✅ 1.00x slower)Prove-StepCircuitSize-1038751
318.73 ms
(✅ 1.00x)299.65 ms
(✅ 1.06x faster)Verify-StepCircuitSize-1038751
95.65 ms
(✅ 1.00x)94.68 ms
(✅ 1.01x faster)RecursiveSNARKSuperNova-1circuit
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
Prove-StepCircuitSize-...
46.12 ms
(✅ 1.00x)Verify-StepCircuitSize...
26.22 ms
(✅ 1.00x)Prove-StepCircuitSize-... #2
53.49 ms
(✅ 1.00x)Verify-StepCircuitSize... #2
32.70 ms
(✅ 1.00x)Prove-StepCircuitSize-... #3
72.65 ms
(✅ 1.00x)Verify-StepCircuitSize... #3
48.51 ms
(✅ 1.00x)Prove-StepCircuitSize-... #4
89.99 ms
(✅ 1.00x)Verify-StepCircuitSize... #4
54.01 ms
(✅ 1.00x)Prove-StepCircuitSize-... #5
74.52 ms
(✅ 1.00x)Verify-StepCircuitSize... #5
42.13 ms
(✅ 1.00x)Prove-StepCircuitSize-... #6
101.77 ms
(✅ 1.00x)Verify-StepCircuitSize... #6
61.52 ms
(✅ 1.00x)Prove-StepCircuitSize-... #7
209.77 ms
(✅ 1.00x)Verify-StepCircuitSize... #7
148.41 ms
(✅ 1.00x)Prove-StepCircuitSize-... #8
376.19 ms
(✅ 1.00x)Verify-StepCircuitSize... #8
290.87 ms
(✅ 1.00x)RecursiveSNARKSuperNova-2circuit
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
Prove-StepCircuitSize-...
45.95 ms
(✅ 1.00x)Verify-StepCircuitSize...
26.04 ms
(✅ 1.00x)Prove-StepCircuitSize-... #2
53.56 ms
(✅ 1.00x)Verify-StepCircuitSize... #2
32.59 ms
(✅ 1.00x)Prove-StepCircuitSize-... #3
72.56 ms
(✅ 1.00x)Verify-StepCircuitSize... #3
48.26 ms
(✅ 1.00x)Prove-StepCircuitSize-... #4
89.73 ms
(✅ 1.00x)Verify-StepCircuitSize... #4
54.14 ms
(✅ 1.00x)Prove-StepCircuitSize-... #5
74.70 ms
(✅ 1.00x)Verify-StepCircuitSize... #5
41.80 ms
(✅ 1.00x)Prove-StepCircuitSize-... #6
101.68 ms
(✅ 1.00x)Verify-StepCircuitSize... #6
61.64 ms
(✅ 1.00x)Prove-StepCircuitSize-... #7
211.59 ms
(✅ 1.00x)Verify-StepCircuitSize... #7
151.72 ms
(✅ 1.00x)Prove-StepCircuitSize-... #8
376.66 ms
(✅ 1.00x)Verify-StepCircuitSize... #8
291.50 ms
(✅ 1.00x)CompressedSNARK
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
ref=6c0945e2f8fecde6a043abc1f8e033b144eaaa65
Prove-StepCircuitSize-0
543.41 ms
(✅ 1.00x)544.63 ms
(✅ 1.00x slower)Verify-StepCircuitSize-0
29.11 ms
(✅ 1.00x)28.94 ms
(✅ 1.01x faster)Prove-StepCircuitSize-6559
559.58 ms
(✅ 1.00x)559.40 ms
(✅ 1.00x faster)Verify-StepCircuitSize-6559
29.20 ms
(✅ 1.00x)29.22 ms
(✅ 1.00x slower)Prove-StepCircuitSize-22943
813.49 ms
(✅ 1.00x)811.62 ms
(✅ 1.00x faster)Verify-StepCircuitSize-22943
38.68 ms
(✅ 1.00x)38.82 ms
(✅ 1.00x slower)Prove-StepCircuitSize-55711
1.36 s
(✅ 1.00x)1.36 s
(✅ 1.00x slower)Verify-StepCircuitSize-55711
25.11 ms
(✅ 1.00x)24.81 ms
(✅ 1.01x faster)Prove-StepCircuitSize-121247
2.31 s
(✅ 1.00x)2.31 s
(✅ 1.00x slower)Verify-StepCircuitSize-121247
36.02 ms
(✅ 1.00x)35.41 ms
(✅ 1.02x faster)Prove-StepCircuitSize-252319
4.25 s
(✅ 1.00x)4.25 s
(✅ 1.00x slower)Verify-StepCircuitSize-252319
52.20 ms
(✅ 1.00x)52.06 ms
(✅ 1.00x faster)Prove-StepCircuitSize-514463
8.25 s
(✅ 1.00x)8.24 s
(✅ 1.00x faster)Verify-StepCircuitSize-514463
107.47 ms
(✅ 1.00x)102.06 ms
(✅ 1.05x faster)Prove-StepCircuitSize-1038751
16.04 s
(✅ 1.00x)16.05 s
(✅ 1.00x slower)Verify-StepCircuitSize-1038751
226.00 ms
(✅ 1.00x)255.73 ms
(❌ 1.13x slower)CompressedSNARK-Commitments
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
ref=6c0945e2f8fecde6a043abc1f8e033b144eaaa65
Prove-StepCircuitSize-0
4.43 s
(✅ 1.00x)4.33 s
(✅ 1.02x faster)Verify-StepCircuitSize-0
28.86 ms
(✅ 1.00x)28.71 ms
(✅ 1.00x faster)Prove-StepCircuitSize-6559
8.17 s
(✅ 1.00x)8.09 s
(✅ 1.01x faster)Verify-StepCircuitSize-6559
37.50 ms
(✅ 1.00x)37.72 ms
(✅ 1.01x slower)Prove-StepCircuitSize-22943
7.47 s
(✅ 1.00x)7.32 s
(✅ 1.02x faster)Verify-StepCircuitSize-2294...
37.74 ms
(✅ 1.00x)37.53 ms
(✅ 1.01x faster)Prove-StepCircuitSize-55711
14.32 s
(✅ 1.00x)14.02 s
(✅ 1.02x faster)Verify-StepCircuitSize-5571...
78.84 ms
(✅ 1.00x)59.75 ms
(✅ 1.32x faster)Prove-StepCircuitSize-12124...
11.02 s
(✅ 1.00x)10.93 s
(✅ 1.01x faster)Verify-StepCircuitSize-1212...
79.02 ms
(✅ 1.00x)59.93 ms
(✅ 1.32x faster)Prove-StepCircuitSize-25231...
21.67 s
(✅ 1.00x)21.71 s
(✅ 1.00x slower)Verify-StepCircuitSize-2523...
163.56 ms
(✅ 1.00x)143.86 ms
(✅ 1.14x faster)CompressedSNARKSuperNova-1circuit
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
Prove-StepCircuitSize...
630.20 ms
(✅ 1.00x)Verify-StepCircuitSiz...
40.53 ms
(✅ 1.00x)Prove-StepCircuitSize... #2
621.06 ms
(✅ 1.00x)Verify-StepCircuitSiz... #2
40.58 ms
(✅ 1.00x)Prove-StepCircuitSize... #3
885.64 ms
(✅ 1.00x)Verify-StepCircuitSiz... #3
50.82 ms
(✅ 1.00x)Prove-StepCircuitSize... #4
1.42 s
(✅ 1.00x)Verify-StepCircuitSiz... #4
38.33 ms
(✅ 1.00x)Prove-StepCircuitSize... #5
2.40 s
(✅ 1.00x)Verify-StepCircuitSiz... #5
47.54 ms
(✅ 1.00x)Prove-StepCircuitSize... #6
4.43 s
(✅ 1.00x)Verify-StepCircuitSiz... #6
64.76 ms
(✅ 1.00x)Prove-StepCircuitSize... #7
8.30 s
(✅ 1.00x)Verify-StepCircuitSiz... #7
119.44 ms
(✅ 1.00x)Prove-StepCircuitSize... #8
16.14 s
(✅ 1.00x)Verify-StepCircuitSiz... #8
251.10 ms
(✅ 1.00x)CompressedSNARKSuperNova-2circuit
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
Prove-StepCircuitSize...
622.56 ms
(✅ 1.00x)Verify-StepCircuitSiz...
42.70 ms
(✅ 1.00x)Prove-StepCircuitSize... #2
633.11 ms
(✅ 1.00x)Verify-StepCircuitSiz... #2
42.51 ms
(✅ 1.00x)Prove-StepCircuitSize... #3
885.30 ms
(✅ 1.00x)Verify-StepCircuitSiz... #3
53.97 ms
(✅ 1.00x)Prove-StepCircuitSize... #4
1.40 s
(✅ 1.00x)Verify-StepCircuitSiz... #4
43.65 ms
(✅ 1.00x)Prove-StepCircuitSize... #5
2.39 s
(✅ 1.00x)Verify-StepCircuitSiz... #5
56.02 ms
(✅ 1.00x)Prove-StepCircuitSize... #6
4.49 s
(✅ 1.00x)Verify-StepCircuitSiz... #6
75.46 ms
(✅ 1.00x)Prove-StepCircuitSize... #7
8.59 s
(✅ 1.00x)Verify-StepCircuitSiz... #7
144.84 ms
(✅ 1.00x)Prove-StepCircuitSize... #8
16.24 s
(✅ 1.00x)Verify-StepCircuitSiz... #8
333.66 ms
(✅ 1.00x)CompressedSNARKSuperNova-Commitments-2circuit
ref=85c04b3ab1d8446b0a8337ad738ea11aa94f45b4
Prove-Ste...
8.21 s
(✅ 1.00x)Verify-St...
65.34 ms
(✅ 1.00x)Prove-Ste... #2
14.12 s
(✅ 1.00x)Verify-St... #2
78.17 ms
(✅ 1.00x)Prove-Ste... #3
12.51 s
(✅ 1.00x)Verify-St... #3
78.47 ms
(✅ 1.00x)Prove-Ste... #4
22.75 s
(✅ 1.00x)Verify-St... #4
121.32 ms
(✅ 1.00x)Prove-Ste... #5
15.70 s
(✅ 1.00x)Verify-St... #5
122.01 ms
(✅ 1.00x)Prove-Ste... #6
29.92 s
(✅ 1.00x)Verify-St... #6
236.82 ms
(✅ 1.00x)Prove-Ste... #7
57.65 s
(✅ 1.00x)Verify-St... #7
415.49 ms
(✅ 1.00x)Prove-Ste... #8
111.72 s
(✅ 1.00x)Verify-St... #8
772.64 ms
(✅ 1.00x)Made with criterion-table