-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add benchmarks. #16
Comments
Hey everyone! Beyond that, it looks like the Sound good? The crypto domain is a bit outside my normal Rust work, so if I suggest/say something ridiculous, please tell me. =) |
Sounds good :) |
Link to PR: #33 |
Hi @fhaynes, thank you for taking on this issue! Having benchmarks for addition and subtraction certainly makes sense. However, I don't think they have much room for optimization since they don't involve any complicated computations. I think the main bottlenecks at the moment are the two methods that involve the (not yet optimized) single-value polynomial interpolation function: (And maybe there are other CPU intensive methods left unbenched, too, but I currently can't think of any.) |
Sure. PR here: #35 |
Since the (rebased) PR was merged by @afck, should this issue be closed? |
Yes, thank you for the reminder! |
Our implementation still uses naive and probably slow algorithms in several places, especially for polynomials and commitments, and we should look into optimizing them. Whether #13 leads anywhere or not, the first step is adding benchmarks. I'm mainly thinking of polynomial multiplication and interpolation, but the more we cover, the better.
The text was updated successfully, but these errors were encountered: