Skip to content
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

Speed up poseidon for kimchi by hand-unrolling #2394

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

mrmr1993
Copy link
Member

@mrmr1993 mrmr1993 commented Jul 2, 2024

Running an experiment using the Mina code, I see a ~50% speed-up in poseidon by hand-unrolling the x^7 sbox vs using the built-in pow function.

@mrmr1993 mrmr1993 changed the title Feature/faster poseidon Speed up poseidon for kimchi by hand-unrolling Jul 2, 2024
@dannywillems dannywillems self-requested a review July 8, 2024 11:08
@dannywillems
Copy link
Member

See #2400 on master.
See #2399 for the dep to bench using criterion.

I am blocked reviewing this PR as I don't have permissions on proof-systems-vendors, and we must solve the conflicts.

@georgeee georgeee changed the base branch from berkeley to develop August 26, 2024 07:32
@georgeee
Copy link

georgeee commented Aug 26, 2024

See improvement of 20% on top of #14643 using benchmark from #14582.

Useful to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants