You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
I'll have to take a look at the exact differences. My intuition here would be that the rlc operations we are performing manually with "powers" of challenges are not correctly skipping the first element of the list. Investigating...
@adr1anh I'll rebase and re-run benches so you can see the results on the latest RLC (#330). My overall concerns are related to the huge variance of the performance of the batched_ppsnark, which is also related to #281.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opening as a PoC, to start the conversation.
Follows #225, Fixes #197.
Benchmarks
Table of Contents
Benchmark Results
Comparison between CompressedSNARK and BatchedCompressedSNARK
ref=2699725
ref=2699725
274.85 ms
271.68 ms
19.05 ms
20.28 ms
289.33 ms
290.99 ms
18.82 ms
20.28 ms
324.71 ms
325.74 ms
19.12 ms
22.44 ms
300.13 ms
289.36 ms
20.49 ms
23.47 ms
346.24 ms
328.16 ms
23.71 ms
25.44 ms
438.15 ms
414.80 ms
25.74 ms
32.22 ms
596.27 ms
591.86 ms
34.26 ms
50.07 ms
982.27 ms
965.43 ms
55.77 ms
92.50 ms
Comparison between CompressedSNARK-Commitments and BatchedCompressedSNARK-Commitments
ref=2699725
ref=2699725
2.04 s
2.06 s
19.59 ms
19.53 ms
3.30 s
3.24 s
19.65 ms
19.62 ms
2.76 s
2.72 s
19.61 ms
19.66 ms
4.91 s
4.99 s
19.71 ms
19.76 ms
2.49 s
2.51 s
19.48 ms
19.48 ms
4.69 s
4.77 s
19.68 ms
19.67 ms